We recommend new projects start with resources from the AWS provider.
aws-native.eks.FargateProfile
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Schema for AWS::EKS::FargateProfile
Create FargateProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new FargateProfile(name: string, args: FargateProfileArgs, opts?: CustomResourceOptions);@overload
def FargateProfile(resource_name: str,
                   args: FargateProfileArgs,
                   opts: Optional[ResourceOptions] = None)
@overload
def FargateProfile(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   cluster_name: Optional[str] = None,
                   pod_execution_role_arn: Optional[str] = None,
                   selectors: Optional[Sequence[FargateProfileSelectorArgs]] = None,
                   fargate_profile_name: Optional[str] = None,
                   subnets: Optional[Sequence[str]] = None,
                   tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewFargateProfile(ctx *Context, name string, args FargateProfileArgs, opts ...ResourceOption) (*FargateProfile, error)public FargateProfile(string name, FargateProfileArgs args, CustomResourceOptions? opts = null)
public FargateProfile(String name, FargateProfileArgs args)
public FargateProfile(String name, FargateProfileArgs args, CustomResourceOptions options)
type: aws-native:eks:FargateProfile
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args FargateProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args FargateProfileArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args FargateProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args FargateProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args FargateProfileArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
FargateProfile Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The FargateProfile resource accepts the following input properties:
- ClusterName string
- Name of the Cluster
- PodExecution stringRole Arn 
- The IAM policy arn for pods
- Selectors
List<Pulumi.Aws Native. Eks. Inputs. Fargate Profile Selector> 
- The selectors to match for a Podto use this Fargate profile. Each selector must have an associated Kubernetesnamespace. Optionally, you can also specifylabelsfor anamespace. You may specify up to five selectors in a Fargate profile.
- FargateProfile stringName 
- Name of FargateProfile
- Subnets List<string>
- The IDs of subnets to launch a Podinto. APodrunning on Fargate isn't assigned a public IP address, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- An array of key-value pairs to apply to this resource.
- ClusterName string
- Name of the Cluster
- PodExecution stringRole Arn 
- The IAM policy arn for pods
- Selectors
[]FargateProfile Selector Args 
- The selectors to match for a Podto use this Fargate profile. Each selector must have an associated Kubernetesnamespace. Optionally, you can also specifylabelsfor anamespace. You may specify up to five selectors in a Fargate profile.
- FargateProfile stringName 
- Name of FargateProfile
- Subnets []string
- The IDs of subnets to launch a Podinto. APodrunning on Fargate isn't assigned a public IP address, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.
- 
TagArgs 
- An array of key-value pairs to apply to this resource.
- clusterName String
- Name of the Cluster
- podExecution StringRole Arn 
- The IAM policy arn for pods
- selectors
List<FargateProfile Selector> 
- The selectors to match for a Podto use this Fargate profile. Each selector must have an associated Kubernetesnamespace. Optionally, you can also specifylabelsfor anamespace. You may specify up to five selectors in a Fargate profile.
- fargateProfile StringName 
- Name of FargateProfile
- subnets List<String>
- The IDs of subnets to launch a Podinto. APodrunning on Fargate isn't assigned a public IP address, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.
- List<Tag>
- An array of key-value pairs to apply to this resource.
- clusterName string
- Name of the Cluster
- podExecution stringRole Arn 
- The IAM policy arn for pods
- selectors
FargateProfile Selector[] 
- The selectors to match for a Podto use this Fargate profile. Each selector must have an associated Kubernetesnamespace. Optionally, you can also specifylabelsfor anamespace. You may specify up to five selectors in a Fargate profile.
- fargateProfile stringName 
- Name of FargateProfile
- subnets string[]
- The IDs of subnets to launch a Podinto. APodrunning on Fargate isn't assigned a public IP address, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.
- Tag[]
- An array of key-value pairs to apply to this resource.
- cluster_name str
- Name of the Cluster
- pod_execution_ strrole_ arn 
- The IAM policy arn for pods
- selectors
Sequence[FargateProfile Selector Args] 
- The selectors to match for a Podto use this Fargate profile. Each selector must have an associated Kubernetesnamespace. Optionally, you can also specifylabelsfor anamespace. You may specify up to five selectors in a Fargate profile.
- fargate_profile_ strname 
- Name of FargateProfile
- subnets Sequence[str]
- The IDs of subnets to launch a Podinto. APodrunning on Fargate isn't assigned a public IP address, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.
- 
Sequence[TagArgs] 
- An array of key-value pairs to apply to this resource.
- clusterName String
- Name of the Cluster
- podExecution StringRole Arn 
- The IAM policy arn for pods
- selectors List<Property Map>
- The selectors to match for a Podto use this Fargate profile. Each selector must have an associated Kubernetesnamespace. Optionally, you can also specifylabelsfor anamespace. You may specify up to five selectors in a Fargate profile.
- fargateProfile StringName 
- Name of FargateProfile
- subnets List<String>
- The IDs of subnets to launch a Podinto. APodrunning on Fargate isn't assigned a public IP address, so only private subnets (with no direct route to an Internet Gateway) are accepted for this parameter.
- List<Property Map>
- An array of key-value pairs to apply to this resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the FargateProfile resource produces the following output properties:
Supporting Types
FargateProfileLabel, FargateProfileLabelArgs      
FargateProfileSelector, FargateProfileSelectorArgs      
- Namespace string
- The Kubernetes namespacethat the selector should match.
- Labels
List<Pulumi.Aws Native. Eks. Inputs. Fargate Profile Label> 
- The Kubernetes labels that the selector should match. A pod must contain all of the labels that are specified in the selector for it to be considered a match.
- Namespace string
- The Kubernetes namespacethat the selector should match.
- Labels
[]FargateProfile Label 
- The Kubernetes labels that the selector should match. A pod must contain all of the labels that are specified in the selector for it to be considered a match.
- namespace String
- The Kubernetes namespacethat the selector should match.
- labels
List<FargateProfile Label> 
- The Kubernetes labels that the selector should match. A pod must contain all of the labels that are specified in the selector for it to be considered a match.
- namespace string
- The Kubernetes namespacethat the selector should match.
- labels
FargateProfile Label[] 
- The Kubernetes labels that the selector should match. A pod must contain all of the labels that are specified in the selector for it to be considered a match.
- namespace str
- The Kubernetes namespacethat the selector should match.
- labels
Sequence[FargateProfile Label] 
- The Kubernetes labels that the selector should match. A pod must contain all of the labels that are specified in the selector for it to be considered a match.
- namespace String
- The Kubernetes namespacethat the selector should match.
- labels List<Property Map>
- The Kubernetes labels that the selector should match. A pod must contain all of the labels that are specified in the selector for it to be considered a match.
Tag, TagArgs  
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.