1. Packages
  2. AWS Classic
  3. API Docs
  4. ssoadmin
  5. InstanceAccessControlAttributes

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi

aws.ssoadmin.InstanceAccessControlAttributes

Explore with Pulumi AI

aws logo

Try AWS Native preview for resources not in the classic version.

AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi

    Provides a Single Sign-On (SSO) ABAC Resource: https://docs.aws.amazon.com/singlesignon/latest/userguide/abac.html

    Create InstanceAccessControlAttributes Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new InstanceAccessControlAttributes(name: string, args: InstanceAccessControlAttributesArgs, opts?: CustomResourceOptions);
    @overload
    def InstanceAccessControlAttributes(resource_name: str,
                                        args: InstanceAccessControlAttributesArgs,
                                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def InstanceAccessControlAttributes(resource_name: str,
                                        opts: Optional[ResourceOptions] = None,
                                        attributes: Optional[Sequence[InstanceAccessControlAttributesAttributeArgs]] = None,
                                        instance_arn: Optional[str] = None)
    func NewInstanceAccessControlAttributes(ctx *Context, name string, args InstanceAccessControlAttributesArgs, opts ...ResourceOption) (*InstanceAccessControlAttributes, error)
    public InstanceAccessControlAttributes(string name, InstanceAccessControlAttributesArgs args, CustomResourceOptions? opts = null)
    public InstanceAccessControlAttributes(String name, InstanceAccessControlAttributesArgs args)
    public InstanceAccessControlAttributes(String name, InstanceAccessControlAttributesArgs args, CustomResourceOptions options)
    
    type: aws:ssoadmin:InstanceAccessControlAttributes
    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 InstanceAccessControlAttributesArgs
    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 InstanceAccessControlAttributesArgs
    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 InstanceAccessControlAttributesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InstanceAccessControlAttributesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InstanceAccessControlAttributesArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    var instanceAccessControlAttributesResource = new Aws.SsoAdmin.InstanceAccessControlAttributes("instanceAccessControlAttributesResource", new()
    {
        Attributes = new[]
        {
            new Aws.SsoAdmin.Inputs.InstanceAccessControlAttributesAttributeArgs
            {
                Key = "string",
                Values = new[]
                {
                    new Aws.SsoAdmin.Inputs.InstanceAccessControlAttributesAttributeValueArgs
                    {
                        Sources = new[]
                        {
                            "string",
                        },
                    },
                },
            },
        },
        InstanceArn = "string",
    });
    
    example, err := ssoadmin.NewInstanceAccessControlAttributes(ctx, "instanceAccessControlAttributesResource", &ssoadmin.InstanceAccessControlAttributesArgs{
    	Attributes: ssoadmin.InstanceAccessControlAttributesAttributeArray{
    		&ssoadmin.InstanceAccessControlAttributesAttributeArgs{
    			Key: pulumi.String("string"),
    			Values: ssoadmin.InstanceAccessControlAttributesAttributeValueArray{
    				&ssoadmin.InstanceAccessControlAttributesAttributeValueArgs{
    					Sources: pulumi.StringArray{
    						pulumi.String("string"),
    					},
    				},
    			},
    		},
    	},
    	InstanceArn: pulumi.String("string"),
    })
    
    var instanceAccessControlAttributesResource = new InstanceAccessControlAttributes("instanceAccessControlAttributesResource", InstanceAccessControlAttributesArgs.builder()        
        .attributes(InstanceAccessControlAttributesAttributeArgs.builder()
            .key("string")
            .values(InstanceAccessControlAttributesAttributeValueArgs.builder()
                .sources("string")
                .build())
            .build())
        .instanceArn("string")
        .build());
    
    instance_access_control_attributes_resource = aws.ssoadmin.InstanceAccessControlAttributes("instanceAccessControlAttributesResource",
        attributes=[aws.ssoadmin.InstanceAccessControlAttributesAttributeArgs(
            key="string",
            values=[aws.ssoadmin.InstanceAccessControlAttributesAttributeValueArgs(
                sources=["string"],
            )],
        )],
        instance_arn="string")
    
    const instanceAccessControlAttributesResource = new aws.ssoadmin.InstanceAccessControlAttributes("instanceAccessControlAttributesResource", {
        attributes: [{
            key: "string",
            values: [{
                sources: ["string"],
            }],
        }],
        instanceArn: "string",
    });
    
    type: aws:ssoadmin:InstanceAccessControlAttributes
    properties:
        attributes:
            - key: string
              values:
                - sources:
                    - string
        instanceArn: string
    

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

    Attributes List<InstanceAccessControlAttributesAttribute>
    See AccessControlAttribute for more details.
    InstanceArn string
    The Amazon Resource Name (ARN) of the SSO Instance.
    Attributes []InstanceAccessControlAttributesAttributeArgs
    See AccessControlAttribute for more details.
    InstanceArn string
    The Amazon Resource Name (ARN) of the SSO Instance.
    attributes List<InstanceAccessControlAttributesAttribute>
    See AccessControlAttribute for more details.
    instanceArn String
    The Amazon Resource Name (ARN) of the SSO Instance.
    attributes InstanceAccessControlAttributesAttribute[]
    See AccessControlAttribute for more details.
    instanceArn string
    The Amazon Resource Name (ARN) of the SSO Instance.
    attributes Sequence[InstanceAccessControlAttributesAttributeArgs]
    See AccessControlAttribute for more details.
    instance_arn str
    The Amazon Resource Name (ARN) of the SSO Instance.
    attributes List<Property Map>
    See AccessControlAttribute for more details.
    instanceArn String
    The Amazon Resource Name (ARN) of the SSO Instance.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    StatusReason string
    Id string
    The provider-assigned unique ID for this managed resource.
    Status string
    StatusReason string
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    statusReason String
    id string
    The provider-assigned unique ID for this managed resource.
    status string
    statusReason string
    id str
    The provider-assigned unique ID for this managed resource.
    status str
    status_reason str
    id String
    The provider-assigned unique ID for this managed resource.
    status String
    statusReason String

    Look up Existing InstanceAccessControlAttributes Resource

    Get an existing InstanceAccessControlAttributes 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?: InstanceAccessControlAttributesState, opts?: CustomResourceOptions): InstanceAccessControlAttributes
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            attributes: Optional[Sequence[InstanceAccessControlAttributesAttributeArgs]] = None,
            instance_arn: Optional[str] = None,
            status: Optional[str] = None,
            status_reason: Optional[str] = None) -> InstanceAccessControlAttributes
    func GetInstanceAccessControlAttributes(ctx *Context, name string, id IDInput, state *InstanceAccessControlAttributesState, opts ...ResourceOption) (*InstanceAccessControlAttributes, error)
    public static InstanceAccessControlAttributes Get(string name, Input<string> id, InstanceAccessControlAttributesState? state, CustomResourceOptions? opts = null)
    public static InstanceAccessControlAttributes get(String name, Output<String> id, InstanceAccessControlAttributesState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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.
    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:
    Attributes List<InstanceAccessControlAttributesAttribute>
    See AccessControlAttribute for more details.
    InstanceArn string
    The Amazon Resource Name (ARN) of the SSO Instance.
    Status string
    StatusReason string
    Attributes []InstanceAccessControlAttributesAttributeArgs
    See AccessControlAttribute for more details.
    InstanceArn string
    The Amazon Resource Name (ARN) of the SSO Instance.
    Status string
    StatusReason string
    attributes List<InstanceAccessControlAttributesAttribute>
    See AccessControlAttribute for more details.
    instanceArn String
    The Amazon Resource Name (ARN) of the SSO Instance.
    status String
    statusReason String
    attributes InstanceAccessControlAttributesAttribute[]
    See AccessControlAttribute for more details.
    instanceArn string
    The Amazon Resource Name (ARN) of the SSO Instance.
    status string
    statusReason string
    attributes Sequence[InstanceAccessControlAttributesAttributeArgs]
    See AccessControlAttribute for more details.
    instance_arn str
    The Amazon Resource Name (ARN) of the SSO Instance.
    status str
    status_reason str
    attributes List<Property Map>
    See AccessControlAttribute for more details.
    instanceArn String
    The Amazon Resource Name (ARN) of the SSO Instance.
    status String
    statusReason String

    Supporting Types

    InstanceAccessControlAttributesAttribute, InstanceAccessControlAttributesAttributeArgs

    Key string
    The name of the attribute associated with your identities in your identity source. This is used to map a specified attribute in your identity source with an attribute in AWS SSO.
    Values List<InstanceAccessControlAttributesAttributeValue>
    The value used for mapping a specified attribute to an identity source. See AccessControlAttributeValue
    Key string
    The name of the attribute associated with your identities in your identity source. This is used to map a specified attribute in your identity source with an attribute in AWS SSO.
    Values []InstanceAccessControlAttributesAttributeValue
    The value used for mapping a specified attribute to an identity source. See AccessControlAttributeValue
    key String
    The name of the attribute associated with your identities in your identity source. This is used to map a specified attribute in your identity source with an attribute in AWS SSO.
    values List<InstanceAccessControlAttributesAttributeValue>
    The value used for mapping a specified attribute to an identity source. See AccessControlAttributeValue
    key string
    The name of the attribute associated with your identities in your identity source. This is used to map a specified attribute in your identity source with an attribute in AWS SSO.
    values InstanceAccessControlAttributesAttributeValue[]
    The value used for mapping a specified attribute to an identity source. See AccessControlAttributeValue
    key str
    The name of the attribute associated with your identities in your identity source. This is used to map a specified attribute in your identity source with an attribute in AWS SSO.
    values Sequence[InstanceAccessControlAttributesAttributeValue]
    The value used for mapping a specified attribute to an identity source. See AccessControlAttributeValue
    key String
    The name of the attribute associated with your identities in your identity source. This is used to map a specified attribute in your identity source with an attribute in AWS SSO.
    values List<Property Map>
    The value used for mapping a specified attribute to an identity source. See AccessControlAttributeValue

    InstanceAccessControlAttributesAttributeValue, InstanceAccessControlAttributesAttributeValueArgs

    Sources List<string>
    The identity source to use when mapping a specified attribute to AWS SSO.
    Sources []string
    The identity source to use when mapping a specified attribute to AWS SSO.
    sources List<String>
    The identity source to use when mapping a specified attribute to AWS SSO.
    sources string[]
    The identity source to use when mapping a specified attribute to AWS SSO.
    sources Sequence[str]
    The identity source to use when mapping a specified attribute to AWS SSO.
    sources List<String>
    The identity source to use when mapping a specified attribute to AWS SSO.

    Import

    Using pulumi import, import SSO Account Assignments using the instance_arn. For example:

    $ pulumi import aws:ssoadmin/instanceAccessControlAttributes:InstanceAccessControlAttributes example arn:aws:sso:::instance/ssoins-0123456789abcdef
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo

    Try AWS Native preview for resources not in the classic version.

    AWS Classic v6.32.0 published on Friday, Apr 19, 2024 by Pulumi