1. Packages
  2. LBr Labs EKS
  3. API Docs
  4. AttachedFargateProfile
LBr Labs EKS v0.21.0 published on Thursday, Jul 18, 2024 by lbrlabs

lbrlabs-eks.AttachedFargateProfile

Explore with Pulumi AI

lbrlabs-eks logo
LBr Labs EKS v0.21.0 published on Thursday, Jul 18, 2024 by lbrlabs

    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?: CustomResourceOptions);
    @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, CustomResourceOptions? opts = null)
    public AttachedFargateProfile(String name, AttachedFargateProfileArgs args)
    public AttachedFargateProfile(String name, AttachedFargateProfileArgs args, CustomResourceOptions 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 CustomResourceOptions
    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 CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AttachedFargateProfileArgs
    The arguments to resource properties.
    options CustomResourceOptions
    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=[aws.eks.FargateProfileSelectorArgs(
            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

    The AttachedFargateProfile resource accepts the following input properties:

    ClusterName string
    The name of the cluster to assign the fargate profile to.
    Selectors List<Pulumi.Aws.Eks.Inputs.FargateProfileSelector>
    SubnetIds List<string>
    The subnet IDs to use for the fargate profile.
    Tags Dictionary<string, string>
    Key-value map for tags to apply to Fargate Profile.
    ClusterName string
    The name of the cluster to assign the fargate profile to.
    Selectors FargateProfileSelectorArgs
    SubnetIds []string
    The subnet IDs to use for the fargate profile.
    Tags map[string]string
    Key-value map for tags to apply to Fargate Profile.
    clusterName String
    The name of the cluster to assign the fargate profile to.
    selectors List<FargateProfileSelector>
    subnetIds List<String>
    The subnet IDs to use for the fargate profile.
    tags Map<String,String>
    Key-value map for tags to apply to Fargate Profile.
    clusterName string
    The name of the cluster to assign the fargate profile to.
    selectors pulumiAwstypesinputeksFargateProfileSelector[]
    subnetIds string[]
    The subnet IDs to use for the fargate profile.
    tags {[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.FargateProfileSelectorArgs]
    subnet_ids Sequence[str]
    The subnet IDs to use for the fargate profile.
    tags Mapping[str, str]
    Key-value map for tags to apply to Fargate Profile.
    clusterName String
    The name of the cluster to assign the fargate profile to.
    selectors List<Property Map>
    subnetIds List<String>
    The subnet IDs to use for the fargate profile.
    tags 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.FargateProfile
    This type is defined in the AWS Classic package.
    Role Pulumi.Aws.Iam.Role
    This type is defined in the AWS Classic package.
    Profile FargateProfile
    This type is defined in the AWS Classic package.
    Role Role
    This type is defined in the AWS Classic package.
    profile FargateProfile
    This type is defined in the AWS Classic package.
    role Role
    This type is defined in the AWS Classic package.
    profile pulumiAwseksFargateProfile
    This type is defined in the AWS Classic package.
    role pulumiAwsiamRole
    This type is defined in the AWS Classic package.
    profile pulumi_aws.eks.FargateProfile
    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:FargateProfile
    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
    lbrlabs-eks logo
    LBr Labs EKS v0.21.0 published on Thursday, Jul 18, 2024 by lbrlabs