AuthBackendStsRole

Import

AWS auth backend STS roles can be imported using auth/, the backend path, /config/sts/, and the account_id e.g.

 $ pulumi import vault:aws/authBackendStsRole:AuthBackendStsRole example auth/aws/config/sts/1234567890

Create a AuthBackendStsRole Resource

new AuthBackendStsRole(name: string, args: AuthBackendStsRoleArgs, opts?: CustomResourceOptions);
@overload
def AuthBackendStsRole(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       account_id: Optional[str] = None,
                       backend: Optional[str] = None,
                       sts_role: Optional[str] = None)
@overload
def AuthBackendStsRole(resource_name: str,
                       args: AuthBackendStsRoleArgs,
                       opts: Optional[ResourceOptions] = None)
func NewAuthBackendStsRole(ctx *Context, name string, args AuthBackendStsRoleArgs, opts ...ResourceOption) (*AuthBackendStsRole, error)
public AuthBackendStsRole(string name, AuthBackendStsRoleArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args AuthBackendStsRoleArgs
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 AuthBackendStsRoleArgs
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 AuthBackendStsRoleArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args AuthBackendStsRoleArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

AuthBackendStsRole 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 AuthBackendStsRole resource accepts the following input properties:

AccountId string
The AWS account ID to configure the STS role for.
StsRole string
The STS role to assume when verifying requests made by EC2 instances in the account specified by account_id.
Backend string
The path the AWS auth backend being configured was mounted at. Defaults to aws.
AccountId string
The AWS account ID to configure the STS role for.
StsRole string
The STS role to assume when verifying requests made by EC2 instances in the account specified by account_id.
Backend string
The path the AWS auth backend being configured was mounted at. Defaults to aws.
accountId string
The AWS account ID to configure the STS role for.
stsRole string
The STS role to assume when verifying requests made by EC2 instances in the account specified by account_id.
backend string
The path the AWS auth backend being configured was mounted at. Defaults to aws.
account_id str
The AWS account ID to configure the STS role for.
sts_role str
The STS role to assume when verifying requests made by EC2 instances in the account specified by account_id.
backend str
The path the AWS auth backend being configured was mounted at. Defaults to aws.

Outputs

All input properties are implicitly available as output properties. Additionally, the AuthBackendStsRole resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing AuthBackendStsRole Resource

Get an existing AuthBackendStsRole resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: AuthBackendStsRoleState, opts?: CustomResourceOptions): AuthBackendStsRole
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        account_id: Optional[str] = None,
        backend: Optional[str] = None,
        sts_role: Optional[str] = None) -> AuthBackendStsRole
func GetAuthBackendStsRole(ctx *Context, name string, id IDInput, state *AuthBackendStsRoleState, opts ...ResourceOption) (*AuthBackendStsRole, error)
public static AuthBackendStsRole Get(string name, Input<string> id, AuthBackendStsRoleState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

AccountId string
The AWS account ID to configure the STS role for.
Backend string
The path the AWS auth backend being configured was mounted at. Defaults to aws.
StsRole string
The STS role to assume when verifying requests made by EC2 instances in the account specified by account_id.
AccountId string
The AWS account ID to configure the STS role for.
Backend string
The path the AWS auth backend being configured was mounted at. Defaults to aws.
StsRole string
The STS role to assume when verifying requests made by EC2 instances in the account specified by account_id.
accountId string
The AWS account ID to configure the STS role for.
backend string
The path the AWS auth backend being configured was mounted at. Defaults to aws.
stsRole string
The STS role to assume when verifying requests made by EC2 instances in the account specified by account_id.
account_id str
The AWS account ID to configure the STS role for.
backend str
The path the AWS auth backend being configured was mounted at. Defaults to aws.
sts_role str
The STS role to assume when verifying requests made by EC2 instances in the account specified by account_id.

Package Details

Repository
https://github.com/pulumi/pulumi-vault
License
Apache-2.0
Notes
This Pulumi package is based on the vault Terraform Provider.