We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 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.9.0 published on Monday, Nov 18, 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:
- Profile
Id string - The unique primary identifier of the Profile
- Profile
Id string - The unique primary identifier of the Profile
- profile
Id String - The unique primary identifier of the Profile
- profile
Id string - The unique primary identifier of the Profile
- profile_
id str - The unique primary identifier of the Profile
- profile
Id String - The unique primary identifier of the Profile
getProfile Result
The following output properties are available:
- Accept
Role boolSession Name - Used to determine if a custom role session name will be accepted in a temporary credential request.
- Attribute
Mappings List<Pulumi.Aws Native. Roles Anywhere. Outputs. Profile Attribute Mapping> - A mapping applied to the authenticating end-entity certificate.
- Duration
Seconds double - The number of seconds vended session credentials will be valid for
- Enabled bool
- The enabled status of the resource.
- Managed
Policy 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.
- Profile
Arn string - The ARN of the profile.
- Profile
Id string - The unique primary identifier of the Profile
- Require
Instance boolProperties - Specifies whether instance properties are required in CreateSession requests with this profile.
- Role
Arns List<string> - A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
- Session
Policy 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.
- Accept
Role boolSession Name - Used to determine if a custom role session name will be accepted in a temporary credential request.
- Attribute
Mappings []ProfileAttribute Mapping - A mapping applied to the authenticating end-entity certificate.
- Duration
Seconds float64 - The number of seconds vended session credentials will be valid for
- Enabled bool
- The enabled status of the resource.
- Managed
Policy []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.
- Profile
Arn string - The ARN of the profile.
- Profile
Id string - The unique primary identifier of the Profile
- Require
Instance boolProperties - Specifies whether instance properties are required in CreateSession requests with this profile.
- Role
Arns []string - A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
- Session
Policy string - A session policy that will applied to the trust boundary of the vended session credentials.
- Tag
- A list of Tags.
- accept
Role BooleanSession Name - Used to determine if a custom role session name will be accepted in a temporary credential request.
- attribute
Mappings List<ProfileAttribute Mapping> - A mapping applied to the authenticating end-entity certificate.
- duration
Seconds Double - The number of seconds vended session credentials will be valid for
- enabled Boolean
- The enabled status of the resource.
- managed
Policy 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.
- profile
Arn String - The ARN of the profile.
- profile
Id String - The unique primary identifier of the Profile
- require
Instance BooleanProperties - Specifies whether instance properties are required in CreateSession requests with this profile.
- role
Arns List<String> - A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
- session
Policy String - A session policy that will applied to the trust boundary of the vended session credentials.
- List<Tag>
- A list of Tags.
- accept
Role booleanSession Name - Used to determine if a custom role session name will be accepted in a temporary credential request.
- attribute
Mappings ProfileAttribute Mapping[] - A mapping applied to the authenticating end-entity certificate.
- duration
Seconds number - The number of seconds vended session credentials will be valid for
- enabled boolean
- The enabled status of the resource.
- managed
Policy 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.
- profile
Arn string - The ARN of the profile.
- profile
Id string - The unique primary identifier of the Profile
- require
Instance booleanProperties - Specifies whether instance properties are required in CreateSession requests with this profile.
- role
Arns string[] - A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
- session
Policy 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
- require_
instance_ boolproperties - 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.
- Sequence[root_Tag]
- A list of Tags.
- accept
Role BooleanSession Name - Used to determine if a custom role session name will be accepted in a temporary credential request.
- attribute
Mappings List<Property Map> - A mapping applied to the authenticating end-entity certificate.
- duration
Seconds Number - The number of seconds vended session credentials will be valid for
- enabled Boolean
- The enabled status of the resource.
- managed
Policy 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.
- profile
Arn String - The ARN of the profile.
- profile
Id String - The unique primary identifier of the Profile
- require
Instance BooleanProperties - Specifies whether instance properties are required in CreateSession requests with this profile.
- role
Arns List<String> - A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
- session
Policy 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
- Certificate
Field Pulumi.Aws Native. Roles Anywhere. Profile Certificate Field - Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.
- Mapping
Rules List<Pulumi.Aws Native. Roles Anywhere. Inputs. Profile Mapping 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 []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 List<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 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.
- certificate
Field "x509Subject" | "x509Issuer" | "x509SAN" - Fields (x509Subject, x509Issuer and x509SAN) within X.509 certificates.
- mapping
Rules 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.9.0 published on Monday, Nov 18, 2024 by Pulumi