We recommend new projects start with resources from the AWS provider.
aws-native.rolesanywhere.Profile
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Definition of AWS::RolesAnywhere::Profile Resource Type
Create Profile Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Profile(name: string, args: ProfileArgs, opts?: CustomResourceOptions);@overload
def Profile(resource_name: str,
            args: ProfileArgs,
            opts: Optional[ResourceOptions] = None)
@overload
def Profile(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            role_arns: Optional[Sequence[str]] = None,
            accept_role_session_name: Optional[bool] = None,
            attribute_mappings: Optional[Sequence[ProfileAttributeMappingArgs]] = None,
            duration_seconds: Optional[float] = None,
            enabled: Optional[bool] = None,
            managed_policy_arns: Optional[Sequence[str]] = None,
            name: Optional[str] = None,
            require_instance_properties: Optional[bool] = None,
            session_policy: Optional[str] = None,
            tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewProfile(ctx *Context, name string, args ProfileArgs, opts ...ResourceOption) (*Profile, error)public Profile(string name, ProfileArgs args, CustomResourceOptions? opts = null)
public Profile(String name, ProfileArgs args)
public Profile(String name, ProfileArgs args, CustomResourceOptions options)
type: aws-native:rolesanywhere:Profile
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 ProfileArgs
- 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 ProfileArgs
- 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 ProfileArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProfileArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Profile 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 Profile resource accepts the following input properties:
- RoleArns List<string>
- A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
- AcceptRole boolSession Name 
- Used to determine if a custom role session name will be accepted in a temporary credential request.
- AttributeMappings List<Pulumi.Aws Native. Roles Anywhere. Inputs. Profile Attribute Mapping> 
- A mapping applied to the authenticating end-entity certificate.
- DurationSeconds double
- The number of seconds vended session credentials will be valid for
- Enabled bool
- The enabled status of the resource.
- ManagedPolicy List<string>Arns 
- A list of managed policy ARNs. Managed policies identified by this list will be applied to the vended session credentials.
- Name string
- The customer specified name of the resource.
- RequireInstance boolProperties 
- Specifies whether instance properties are required in CreateSession requests with this profile.
- SessionPolicy string
- A session policy that will applied to the trust boundary of the vended session credentials.
- 
List<Pulumi.Aws Native. Inputs. Tag> 
- A list of Tags.
- RoleArns []string
- A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
- AcceptRole boolSession Name 
- Used to determine if a custom role session name will be accepted in a temporary credential request.
- AttributeMappings []ProfileAttribute Mapping Args 
- A mapping applied to the authenticating end-entity certificate.
- DurationSeconds float64
- The number of seconds vended session credentials will be valid for
- Enabled bool
- The enabled status of the resource.
- ManagedPolicy []stringArns 
- A list of managed policy ARNs. Managed policies identified by this list will be applied to the vended session credentials.
- Name string
- The customer specified name of the resource.
- RequireInstance boolProperties 
- Specifies whether instance properties are required in CreateSession requests with this profile.
- SessionPolicy string
- A session policy that will applied to the trust boundary of the vended session credentials.
- 
TagArgs 
- A list of Tags.
- roleArns List<String>
- A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
- acceptRole BooleanSession Name 
- Used to determine if a custom role session name will be accepted in a temporary credential request.
- attributeMappings List<ProfileAttribute Mapping> 
- A mapping applied to the authenticating end-entity certificate.
- durationSeconds Double
- The number of seconds vended session credentials will be valid for
- enabled Boolean
- The enabled status of the resource.
- managedPolicy List<String>Arns 
- A list of managed policy ARNs. Managed policies identified by this list will be applied to the vended session credentials.
- name String
- The customer specified name of the resource.
- requireInstance BooleanProperties 
- Specifies whether instance properties are required in CreateSession requests with this profile.
- sessionPolicy String
- A session policy that will applied to the trust boundary of the vended session credentials.
- List<Tag>
- A list of Tags.
- roleArns string[]
- A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
- acceptRole booleanSession Name 
- Used to determine if a custom role session name will be accepted in a temporary credential request.
- attributeMappings ProfileAttribute Mapping[] 
- A mapping applied to the authenticating end-entity certificate.
- durationSeconds number
- The number of seconds vended session credentials will be valid for
- enabled boolean
- The enabled status of the resource.
- managedPolicy string[]Arns 
- A list of managed policy ARNs. Managed policies identified by this list will be applied to the vended session credentials.
- name string
- The customer specified name of the resource.
- requireInstance booleanProperties 
- Specifies whether instance properties are required in CreateSession requests with this profile.
- sessionPolicy string
- A session policy that will applied to the trust boundary of the vended session credentials.
- Tag[]
- A list of Tags.
- role_arns Sequence[str]
- A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
- accept_role_ boolsession_ name 
- Used to determine if a custom role session name will be accepted in a temporary credential request.
- attribute_mappings Sequence[ProfileAttribute Mapping Args] 
- A mapping applied to the authenticating end-entity certificate.
- duration_seconds float
- The number of seconds vended session credentials will be valid for
- enabled bool
- The enabled status of the resource.
- managed_policy_ Sequence[str]arns 
- A list of managed policy ARNs. Managed policies identified by this list will be applied to the vended session credentials.
- name str
- The customer specified name of the resource.
- require_instance_ boolproperties 
- Specifies whether instance properties are required in CreateSession requests with this profile.
- session_policy str
- A session policy that will applied to the trust boundary of the vended session credentials.
- 
Sequence[TagArgs] 
- A list of Tags.
- roleArns List<String>
- A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
- acceptRole BooleanSession Name 
- Used to determine if a custom role session name will be accepted in a temporary credential request.
- attributeMappings List<Property Map>
- A mapping applied to the authenticating end-entity certificate.
- durationSeconds Number
- The number of seconds vended session credentials will be valid for
- enabled Boolean
- The enabled status of the resource.
- managedPolicy List<String>Arns 
- A list of managed policy ARNs. Managed policies identified by this list will be applied to the vended session credentials.
- name String
- The customer specified name of the resource.
- requireInstance BooleanProperties 
- Specifies whether instance properties are required in CreateSession requests with this profile.
- sessionPolicy String
- A session policy that will applied to the trust boundary of the vended session credentials.
- List<Property Map>
- A list of Tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the Profile resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- ProfileArn string
- The ARN of the profile.
- ProfileId string
- The unique primary identifier of the Profile
- Id string
- The provider-assigned unique ID for this managed resource.
- ProfileArn string
- The ARN of the profile.
- ProfileId string
- The unique primary identifier of the Profile
- id String
- The provider-assigned unique ID for this managed resource.
- profileArn String
- The ARN of the profile.
- profileId String
- The unique primary identifier of the Profile
- id string
- The provider-assigned unique ID for this managed resource.
- profileArn string
- The ARN of the profile.
- profileId string
- The unique primary identifier of the Profile
- id str
- The provider-assigned unique ID for this managed resource.
- profile_arn str
- The ARN of the profile.
- profile_id str
- The unique primary identifier of the Profile
- id String
- The provider-assigned unique ID for this managed resource.
- profileArn String
- The ARN of the profile.
- profileId String
- The unique primary identifier of the Profile
Supporting Types
ProfileAttributeMapping, ProfileAttributeMappingArgs      
- CertificateField Pulumi.Aws Native. Roles Anywhere. Profile Certificate Field 
- Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.
- MappingRules List<Pulumi.Aws Native. Roles Anywhere. Inputs. Profile Mapping Rule> 
- A list of mapping entries for every supported specifier or sub-field.
- CertificateField ProfileCertificate Field 
- Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.
- MappingRules []ProfileMapping Rule 
- A list of mapping entries for every supported specifier or sub-field.
- certificateField ProfileCertificate Field 
- Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.
- mappingRules List<ProfileMapping Rule> 
- A list of mapping entries for every supported specifier or sub-field.
- certificateField ProfileCertificate Field 
- Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.
- mappingRules ProfileMapping Rule[] 
- A list of mapping entries for every supported specifier or sub-field.
- certificate_field ProfileCertificate Field 
- Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.
- mapping_rules Sequence[ProfileMapping Rule] 
- A list of mapping entries for every supported specifier or sub-field.
- certificateField "x509Subject" | "x509Issuer" | "x509SAN"
- Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.
- mappingRules List<Property Map>
- A list of mapping entries for every supported specifier or sub-field.
ProfileCertificateField, ProfileCertificateFieldArgs      
- X509Subject
- x509Subject
- X509Issuer
- x509Issuer
- X509san
- x509SAN
- ProfileCertificate Field X509Subject 
- x509Subject
- ProfileCertificate Field X509Issuer 
- x509Issuer
- ProfileCertificate Field X509san 
- x509SAN
- X509Subject
- x509Subject
- X509Issuer
- x509Issuer
- X509san
- x509SAN
- X509Subject
- x509Subject
- X509Issuer
- x509Issuer
- X509san
- x509SAN
- X509_SUBJECT
- x509Subject
- X509_ISSUER
- x509Issuer
- X509SAN
- x509SAN
- "x509Subject"
- x509Subject
- "x509Issuer"
- x509Issuer
- "x509SAN"
- x509SAN
ProfileMappingRule, ProfileMappingRuleArgs      
- Specifier string
- Specifier within a certificate field, such as CN, OU, or UID from the Subject field.
- Specifier string
- Specifier within a certificate field, such as CN, OU, or UID from the Subject field.
- specifier String
- Specifier within a certificate field, such as CN, OU, or UID from the Subject field.
- specifier string
- Specifier within a certificate field, such as CN, OU, or UID from the Subject field.
- specifier str
- Specifier within a certificate field, such as CN, OU, or UID from the Subject field.
- specifier String
- Specifier within a certificate field, such as CN, OU, or UID from the Subject field.
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.