We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
aws-native.rolesanywhere.getProfile
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi
Definition of AWS::RolesAnywhere::Profile Resource Type
Using getProfile
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getProfile(args: GetProfileArgs, opts?: InvokeOptions): Promise<GetProfileResult>
function getProfileOutput(args: GetProfileOutputArgs, opts?: InvokeOptions): Output<GetProfileResult>def get_profile(profile_id: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetProfileResult
def get_profile_output(profile_id: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetProfileResult]func LookupProfile(ctx *Context, args *LookupProfileArgs, opts ...InvokeOption) (*LookupProfileResult, error)
func LookupProfileOutput(ctx *Context, args *LookupProfileOutputArgs, opts ...InvokeOption) LookupProfileResultOutput> Note: This function is named LookupProfile in the Go SDK.
public static class GetProfile 
{
    public static Task<GetProfileResult> InvokeAsync(GetProfileArgs args, InvokeOptions? opts = null)
    public static Output<GetProfileResult> Invoke(GetProfileInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetProfileResult> getProfile(GetProfileArgs args, InvokeOptions options)
public static Output<GetProfileResult> getProfile(GetProfileArgs args, InvokeOptions options)
fn::invoke:
  function: aws-native:rolesanywhere:getProfile
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ProfileId string
- The unique primary identifier of the Profile
- ProfileId string
- The unique primary identifier of the Profile
- profileId String
- The unique primary identifier of the Profile
- profileId string
- The unique primary identifier of the Profile
- profile_id str
- The unique primary identifier of the Profile
- profileId String
- The unique primary identifier of the Profile
getProfile Result
The following output properties are available:
- 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. Outputs. 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.
- ProfileArn string
- The ARN of the profile.
- ProfileId string
- The unique primary identifier of the Profile
- RoleArns List<string>
- A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
- SessionPolicy string
- A session policy that will applied to the trust boundary of the vended session credentials.
- 
List<Pulumi.Aws Native. Outputs. Tag> 
- A list of Tags.
- AcceptRole boolSession 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 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.
- ProfileArn string
- The ARN of the profile.
- ProfileId string
- The unique primary identifier of the Profile
- RoleArns []string
- A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
- SessionPolicy string
- A session policy that will applied to the trust boundary of the vended session credentials.
- Tag
- A list of Tags.
- 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.
- profileArn String
- The ARN of the profile.
- profileId String
- The unique primary identifier of the Profile
- roleArns List<String>
- A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
- sessionPolicy String
- A session policy that will applied to the trust boundary of the vended session credentials.
- List<Tag>
- A list of Tags.
- 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.
- profileArn string
- The ARN of the profile.
- profileId string
- The unique primary identifier of the Profile
- roleArns string[]
- A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
- sessionPolicy string
- A session policy that will applied to the trust boundary of the vended session credentials.
- Tag[]
- A list of Tags.
- 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] 
- 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.
- profile_arn str
- The ARN of the profile.
- profile_id str
- The unique primary identifier of the Profile
- role_arns Sequence[str]
- A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
- session_policy str
- A session policy that will applied to the trust boundary of the vended session credentials.
- Sequence[root_Tag]
- A list of Tags.
- 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.
- profileArn String
- The ARN of the profile.
- profileId String
- The unique primary identifier of the Profile
- roleArns List<String>
- A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
- sessionPolicy String
- A session policy that will applied to the trust boundary of the vended session credentials.
- List<Property Map>
- A list of Tags.
Supporting Types
ProfileAttributeMapping  
- 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  
ProfileMappingRule  
- 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.26.0 published on Wednesday, Mar 12, 2025 by Pulumi