eks.ClusterCreationRoleProvider
Explore with Pulumi AI
ClusterCreationRoleProvider is a component that wraps creating a role provider that can be passed to the Cluster
’s creationRoleProvider
. This can be used to provide a specific role to use for the creation of the EKS cluster different from the role being used to run the Pulumi deployment.
Create ClusterCreationRoleProvider Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ClusterCreationRoleProvider(name: string, args?: ClusterCreationRoleProviderArgs, opts?: CustomResourceOptions);
@overload
def ClusterCreationRoleProvider(resource_name: str,
args: Optional[ClusterCreationRoleProviderArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def ClusterCreationRoleProvider(resource_name: str,
opts: Optional[ResourceOptions] = None,
profile: Optional[str] = None,
region: Optional[str] = None)
func NewClusterCreationRoleProvider(ctx *Context, name string, args *ClusterCreationRoleProviderArgs, opts ...ResourceOption) (*ClusterCreationRoleProvider, error)
public ClusterCreationRoleProvider(string name, ClusterCreationRoleProviderArgs? args = null, CustomResourceOptions? opts = null)
public ClusterCreationRoleProvider(String name, ClusterCreationRoleProviderArgs args)
public ClusterCreationRoleProvider(String name, ClusterCreationRoleProviderArgs args, CustomResourceOptions options)
type: eks:ClusterCreationRoleProvider
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 ClusterCreationRoleProviderArgs
- 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 ClusterCreationRoleProviderArgs
- 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 ClusterCreationRoleProviderArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ClusterCreationRoleProviderArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ClusterCreationRoleProviderArgs
- 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 clusterCreationRoleProviderResource = new Eks.ClusterCreationRoleProvider("clusterCreationRoleProviderResource", new()
{
Profile = "string",
Region = "string",
});
example, err := eks.NewClusterCreationRoleProvider(ctx, "clusterCreationRoleProviderResource", &eks.ClusterCreationRoleProviderArgs{
Profile: pulumi.String("string"),
Region: pulumi.String("string"),
})
var clusterCreationRoleProviderResource = new ClusterCreationRoleProvider("clusterCreationRoleProviderResource", ClusterCreationRoleProviderArgs.builder()
.profile("string")
.region("string")
.build());
cluster_creation_role_provider_resource = eks.ClusterCreationRoleProvider("clusterCreationRoleProviderResource",
profile="string",
region="string")
const clusterCreationRoleProviderResource = new eks.ClusterCreationRoleProvider("clusterCreationRoleProviderResource", {
profile: "string",
region: "string",
});
type: eks:ClusterCreationRoleProvider
properties:
profile: string
region: string
ClusterCreationRoleProvider 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 ClusterCreationRoleProvider resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the ClusterCreationRoleProvider resource produces the following output properties:
- Role
Pulumi.
Aws. Iam. Role - This type is defined in the AWS Classic package.
- Role Role
- This type is defined in the AWS Classic package.
- role Role
- This type is defined in the AWS Classic package.
- role
pulumi
Awsiam Role - This type is defined in the AWS Classic package.
- role
pulumi_
aws.iam. Role - 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
- Amazon EKS pulumi/pulumi-eks
- License
- Apache-2.0