1. Packages
  2. AWS Native
  3. API Docs
  4. rolesanywhere
  5. getProfile

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi

aws-native.rolesanywhere.getProfile

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:rolesanywhere:getProfile
      arguments:
        # arguments dictionary

    The 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:

    AttributeMappings List<Pulumi.AwsNative.RolesAnywhere.Outputs.ProfileAttributeMapping>
    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.
    ManagedPolicyArns List<string>
    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
    RequireInstanceProperties bool
    Specifies whether instance properties are required in CreateSession requests with this 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.
    Tags List<Pulumi.AwsNative.Outputs.Tag>
    A list of Tags.
    AttributeMappings []ProfileAttributeMapping
    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.
    ManagedPolicyArns []string
    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
    RequireInstanceProperties bool
    Specifies whether instance properties are required in CreateSession requests with this 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.
    Tags Tag
    A list of Tags.
    attributeMappings List<ProfileAttributeMapping>
    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.
    managedPolicyArns List<String>
    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
    requireInstanceProperties Boolean
    Specifies whether instance properties are required in CreateSession requests with this 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.
    tags List<Tag>
    A list of Tags.
    attributeMappings ProfileAttributeMapping[]
    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.
    managedPolicyArns string[]
    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
    requireInstanceProperties boolean
    Specifies whether instance properties are required in CreateSession requests with this 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.
    tags Tag[]
    A list of Tags.
    attribute_mappings Sequence[ProfileAttributeMapping]
    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_arns Sequence[str]
    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
    require_instance_properties bool
    Specifies whether instance properties are required in CreateSession requests with this 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.
    tags Sequence[root_Tag]
    A list of Tags.
    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.
    managedPolicyArns List<String>
    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
    requireInstanceProperties Boolean
    Specifies whether instance properties are required in CreateSession requests with this 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.
    tags List<Property Map>
    A list of Tags.

    Supporting Types

    ProfileAttributeMapping

    CertificateField Pulumi.AwsNative.RolesAnywhere.ProfileCertificateField
    Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.
    MappingRules List<Pulumi.AwsNative.RolesAnywhere.Inputs.ProfileMappingRule>
    A list of mapping entries for every supported specifier or sub-field.
    CertificateField ProfileCertificateField
    Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.
    MappingRules []ProfileMappingRule
    A list of mapping entries for every supported specifier or sub-field.
    certificateField ProfileCertificateField
    Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.
    mappingRules List<ProfileMappingRule>
    A list of mapping entries for every supported specifier or sub-field.
    certificateField ProfileCertificateField
    Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.
    mappingRules ProfileMappingRule[]
    A list of mapping entries for every supported specifier or sub-field.
    certificate_field ProfileCertificateField
    Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.
    mapping_rules Sequence[ProfileMappingRule]
    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

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.112.0 published on Wednesday, Jul 24, 2024 by Pulumi