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:
- Cluster
Name string - Name of the Cluster
- Pod
Execution stringRole Arn - The IAM policy arn for pods
- Selectors
List<Pulumi.
Aws Native. Eks. Inputs. Fargate Profile Selector> - The selectors to match for a
Pod
to use this Fargate profile. Each selector must have an associated Kubernetesnamespace
. Optionally, you can also specifylabels
for anamespace
. You may specify up to five selectors in a Fargate profile. - Fargate
Profile stringName - Name of FargateProfile
- Subnets List<string>
- The IDs of subnets to launch a
Pod
into. APod
running 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.
- Cluster
Name string - Name of the Cluster
- Pod
Execution stringRole Arn - The IAM policy arn for pods
- Selectors
[]Fargate
Profile Selector Args - The selectors to match for a
Pod
to use this Fargate profile. Each selector must have an associated Kubernetesnamespace
. Optionally, you can also specifylabels
for anamespace
. You may specify up to five selectors in a Fargate profile. - Fargate
Profile stringName - Name of FargateProfile
- Subnets []string
- The IDs of subnets to launch a
Pod
into. APod
running 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
Args - An array of key-value pairs to apply to this resource.
- cluster
Name String - Name of the Cluster
- pod
Execution StringRole Arn - The IAM policy arn for pods
- selectors
List<Fargate
Profile Selector> - The selectors to match for a
Pod
to use this Fargate profile. Each selector must have an associated Kubernetesnamespace
. Optionally, you can also specifylabels
for anamespace
. You may specify up to five selectors in a Fargate profile. - fargate
Profile StringName - Name of FargateProfile
- subnets List<String>
- The IDs of subnets to launch a
Pod
into. APod
running 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.
- cluster
Name string - Name of the Cluster
- pod
Execution stringRole Arn - The IAM policy arn for pods
- selectors
Fargate
Profile Selector[] - The selectors to match for a
Pod
to use this Fargate profile. Each selector must have an associated Kubernetesnamespace
. Optionally, you can also specifylabels
for anamespace
. You may specify up to five selectors in a Fargate profile. - fargate
Profile stringName - Name of FargateProfile
- subnets string[]
- The IDs of subnets to launch a
Pod
into. APod
running 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[Fargate
Profile Selector Args] - The selectors to match for a
Pod
to use this Fargate profile. Each selector must have an associated Kubernetesnamespace
. Optionally, you can also specifylabels
for 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
Pod
into. APod
running 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[Tag
Args] - An array of key-value pairs to apply to this resource.
- cluster
Name String - Name of the Cluster
- pod
Execution StringRole Arn - The IAM policy arn for pods
- selectors List<Property Map>
- The selectors to match for a
Pod
to use this Fargate profile. Each selector must have an associated Kubernetesnamespace
. Optionally, you can also specifylabels
for anamespace
. You may specify up to five selectors in a Fargate profile. - fargate
Profile StringName - Name of FargateProfile
- subnets List<String>
- The IDs of subnets to launch a
Pod
into. APod
running 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
namespace
that 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
namespace
that the selector should match. - Labels
[]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
namespace
that the selector should match. - labels
List<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
namespace
that the selector should match. - labels
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 str
- The Kubernetes
namespace
that the selector should match. - labels
Sequence[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
namespace
that 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.