LBr Labs EKS v0.23.0 published on Saturday, Nov 16, 2024 by lbrlabs
lbrlabs-eks.AttachedFargateProfile
Explore with Pulumi AI
Create AttachedFargateProfile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AttachedFargateProfile(name: string, args: AttachedFargateProfileArgs, opts?: ComponentResourceOptions);
@overload
def AttachedFargateProfile(resource_name: str,
args: AttachedFargateProfileArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AttachedFargateProfile(resource_name: str,
opts: Optional[ResourceOptions] = None,
cluster_name: Optional[str] = None,
selectors: Optional[Sequence[pulumi_aws.eks.FargateProfileSelectorArgs]] = None,
subnet_ids: Optional[Sequence[str]] = None,
tags: Optional[Mapping[str, str]] = None)
func NewAttachedFargateProfile(ctx *Context, name string, args AttachedFargateProfileArgs, opts ...ResourceOption) (*AttachedFargateProfile, error)
public AttachedFargateProfile(string name, AttachedFargateProfileArgs args, ComponentResourceOptions? opts = null)
public AttachedFargateProfile(String name, AttachedFargateProfileArgs args)
public AttachedFargateProfile(String name, AttachedFargateProfileArgs args, ComponentResourceOptions options)
type: lbrlabs-eks:AttachedFargateProfile
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 AttachedFargateProfileArgs
- The arguments to resource properties.
- opts ComponentResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AttachedFargateProfileArgs
- 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 AttachedFargateProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AttachedFargateProfileArgs
- The arguments to resource properties.
- opts ComponentResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AttachedFargateProfileArgs
- The arguments to resource properties.
- options ComponentResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var attachedFargateProfileResource = new Eks.AttachedFargateProfile("attachedFargateProfileResource", new()
{
ClusterName = "string",
Selectors = new[]
{
new Aws.Eks.Inputs.FargateProfileSelectorArgs
{
Namespace = "string",
Labels =
{
{ "string", "string" },
},
},
},
SubnetIds = new[]
{
"string",
},
Tags =
{
{ "string", "string" },
},
});
example, err := lbrlabseks.NewAttachedFargateProfile(ctx, "attachedFargateProfileResource", &lbrlabseks.AttachedFargateProfileArgs{
ClusterName: pulumi.String("string"),
Selectors: eks.FargateProfileSelectorArray{
&eks.FargateProfileSelectorArgs{
Namespace: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
},
SubnetIds: pulumi.StringArray{
pulumi.String("string"),
},
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var attachedFargateProfileResource = new AttachedFargateProfile("attachedFargateProfileResource", AttachedFargateProfileArgs.builder()
.clusterName("string")
.selectors(FargateProfileSelectorArgs.builder()
.namespace("string")
.labels(Map.of("string", "string"))
.build())
.subnetIds("string")
.tags(Map.of("string", "string"))
.build());
attached_fargate_profile_resource = lbrlabs_eks.AttachedFargateProfile("attachedFargateProfileResource",
cluster_name="string",
selectors=[{
"namespace": "string",
"labels": {
"string": "string",
},
}],
subnet_ids=["string"],
tags={
"string": "string",
})
const attachedFargateProfileResource = new lbrlabs_eks.AttachedFargateProfile("attachedFargateProfileResource", {
clusterName: "string",
selectors: [{
namespace: "string",
labels: {
string: "string",
},
}],
subnetIds: ["string"],
tags: {
string: "string",
},
});
type: lbrlabs-eks:AttachedFargateProfile
properties:
clusterName: string
selectors:
- labels:
string: string
namespace: string
subnetIds:
- string
tags:
string: string
AttachedFargateProfile 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 AttachedFargateProfile resource accepts the following input properties:
- Cluster
Name string - The name of the cluster to assign the fargate profile to.
- Selectors
List<Pulumi.
Aws. Eks. Inputs. Fargate Profile Selector> - Subnet
Ids List<string> - The subnet IDs to use for the fargate profile.
- Dictionary<string, string>
- Key-value map for tags to apply to Fargate Profile.
- Cluster
Name string - The name of the cluster to assign the fargate profile to.
- Selectors
Fargate
Profile Selector Args - Subnet
Ids []string - The subnet IDs to use for the fargate profile.
- map[string]string
- Key-value map for tags to apply to Fargate Profile.
- cluster
Name String - The name of the cluster to assign the fargate profile to.
- selectors
List<Fargate
Profile Selector> - subnet
Ids List<String> - The subnet IDs to use for the fargate profile.
- Map<String,String>
- Key-value map for tags to apply to Fargate Profile.
- cluster
Name string - The name of the cluster to assign the fargate profile to.
- selectors
pulumi
Awstypesinputeks Fargate Profile Selector[] - subnet
Ids string[] - The subnet IDs to use for the fargate profile.
- {[key: string]: string}
- Key-value map for tags to apply to Fargate Profile.
- cluster_
name str - The name of the cluster to assign the fargate profile to.
- selectors
Sequence[pulumi_
aws.eks. Fargate Profile Selector Args] - subnet_
ids Sequence[str] - The subnet IDs to use for the fargate profile.
- Mapping[str, str]
- Key-value map for tags to apply to Fargate Profile.
- cluster
Name String - The name of the cluster to assign the fargate profile to.
- selectors List<Property Map>
- subnet
Ids List<String> - The subnet IDs to use for the fargate profile.
- Map<String>
- Key-value map for tags to apply to Fargate Profile.
Outputs
All input properties are implicitly available as output properties. Additionally, the AttachedFargateProfile resource produces the following output properties:
- Profile
Pulumi.
Aws. Eks. Fargate Profile - This type is defined in the AWS Classic package.
- Role
Pulumi.
Aws. Iam. Role - This type is defined in the AWS Classic package.
- Profile
Fargate
Profile - This type is defined in the AWS Classic package.
- Role Role
- This type is defined in the AWS Classic package.
- profile
Fargate
Profile - This type is defined in the AWS Classic package.
- role Role
- This type is defined in the AWS Classic package.
- profile
pulumi
Awseks Fargate Profile - This type is defined in the AWS Classic package.
- role
pulumi
Awsiam Role - This type is defined in the AWS Classic package.
- profile
pulumi_
aws.eks. Fargate Profile - This type is defined in the AWS Classic package.
- role
pulumi_
aws.iam. Role - This type is defined in the AWS Classic package.
- profile
aws:eks:Fargate
Profile - This type is defined in the AWS Classic package.
- role aws:iam:Role
- This type is defined in the AWS Classic package.
Package Details
- Repository
- lbrlabs-eks lbrlabs/pulumi-lbrlabs-eks
- License