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

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

AWS Classic v6.33.1 published on Thursday, May 2, 2024 by Pulumi

aws.ssoadmin.ApplicationAccessScope

Explore with Pulumi AI

aws logo

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

AWS Classic v6.33.1 published on Thursday, May 2, 2024 by Pulumi

    Resource for managing an AWS SSO Admin Application Access Scope.

    Example Usage

    Create ApplicationAccessScope Resource

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

    Constructor syntax

    new ApplicationAccessScope(name: string, args: ApplicationAccessScopeArgs, opts?: CustomResourceOptions);
    @overload
    def ApplicationAccessScope(resource_name: str,
                               args: ApplicationAccessScopeArgs,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def ApplicationAccessScope(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               application_arn: Optional[str] = None,
                               scope: Optional[str] = None,
                               authorized_targets: Optional[Sequence[str]] = None)
    func NewApplicationAccessScope(ctx *Context, name string, args ApplicationAccessScopeArgs, opts ...ResourceOption) (*ApplicationAccessScope, error)
    public ApplicationAccessScope(string name, ApplicationAccessScopeArgs args, CustomResourceOptions? opts = null)
    public ApplicationAccessScope(String name, ApplicationAccessScopeArgs args)
    public ApplicationAccessScope(String name, ApplicationAccessScopeArgs args, CustomResourceOptions options)
    
    type: aws:ssoadmin:ApplicationAccessScope
    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 ApplicationAccessScopeArgs
    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 ApplicationAccessScopeArgs
    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 ApplicationAccessScopeArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args ApplicationAccessScopeArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args ApplicationAccessScopeArgs
    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 applicationAccessScopeResource = new Aws.SsoAdmin.ApplicationAccessScope("applicationAccessScopeResource", new()
    {
        ApplicationArn = "string",
        Scope = "string",
        AuthorizedTargets = new[]
        {
            "string",
        },
    });
    
    example, err := ssoadmin.NewApplicationAccessScope(ctx, "applicationAccessScopeResource", &ssoadmin.ApplicationAccessScopeArgs{
    	ApplicationArn: pulumi.String("string"),
    	Scope:          pulumi.String("string"),
    	AuthorizedTargets: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var applicationAccessScopeResource = new ApplicationAccessScope("applicationAccessScopeResource", ApplicationAccessScopeArgs.builder()        
        .applicationArn("string")
        .scope("string")
        .authorizedTargets("string")
        .build());
    
    application_access_scope_resource = aws.ssoadmin.ApplicationAccessScope("applicationAccessScopeResource",
        application_arn="string",
        scope="string",
        authorized_targets=["string"])
    
    const applicationAccessScopeResource = new aws.ssoadmin.ApplicationAccessScope("applicationAccessScopeResource", {
        applicationArn: "string",
        scope: "string",
        authorizedTargets: ["string"],
    });
    
    type: aws:ssoadmin:ApplicationAccessScope
    properties:
        applicationArn: string
        authorizedTargets:
            - string
        scope: string
    

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

    ApplicationArn string
    Specifies the ARN of the application with the access scope with the targets to add or update.
    Scope string

    Specifies the name of the access scope to be associated with the specified targets.

    The following arguments are optional:

    AuthorizedTargets List<string>
    Specifies an array list of ARNs that represent the authorized targets for this access scope.
    ApplicationArn string
    Specifies the ARN of the application with the access scope with the targets to add or update.
    Scope string

    Specifies the name of the access scope to be associated with the specified targets.

    The following arguments are optional:

    AuthorizedTargets []string
    Specifies an array list of ARNs that represent the authorized targets for this access scope.
    applicationArn String
    Specifies the ARN of the application with the access scope with the targets to add or update.
    scope String

    Specifies the name of the access scope to be associated with the specified targets.

    The following arguments are optional:

    authorizedTargets List<String>
    Specifies an array list of ARNs that represent the authorized targets for this access scope.
    applicationArn string
    Specifies the ARN of the application with the access scope with the targets to add or update.
    scope string

    Specifies the name of the access scope to be associated with the specified targets.

    The following arguments are optional:

    authorizedTargets string[]
    Specifies an array list of ARNs that represent the authorized targets for this access scope.
    application_arn str
    Specifies the ARN of the application with the access scope with the targets to add or update.
    scope str

    Specifies the name of the access scope to be associated with the specified targets.

    The following arguments are optional:

    authorized_targets Sequence[str]
    Specifies an array list of ARNs that represent the authorized targets for this access scope.
    applicationArn String
    Specifies the ARN of the application with the access scope with the targets to add or update.
    scope String

    Specifies the name of the access scope to be associated with the specified targets.

    The following arguments are optional:

    authorizedTargets List<String>
    Specifies an array list of ARNs that represent the authorized targets for this access scope.

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing ApplicationAccessScope Resource

    Get an existing ApplicationAccessScope 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?: ApplicationAccessScopeState, opts?: CustomResourceOptions): ApplicationAccessScope
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_arn: Optional[str] = None,
            authorized_targets: Optional[Sequence[str]] = None,
            scope: Optional[str] = None) -> ApplicationAccessScope
    func GetApplicationAccessScope(ctx *Context, name string, id IDInput, state *ApplicationAccessScopeState, opts ...ResourceOption) (*ApplicationAccessScope, error)
    public static ApplicationAccessScope Get(string name, Input<string> id, ApplicationAccessScopeState? state, CustomResourceOptions? opts = null)
    public static ApplicationAccessScope get(String name, Output<String> id, ApplicationAccessScopeState 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:
    ApplicationArn string
    Specifies the ARN of the application with the access scope with the targets to add or update.
    AuthorizedTargets List<string>
    Specifies an array list of ARNs that represent the authorized targets for this access scope.
    Scope string

    Specifies the name of the access scope to be associated with the specified targets.

    The following arguments are optional:

    ApplicationArn string
    Specifies the ARN of the application with the access scope with the targets to add or update.
    AuthorizedTargets []string
    Specifies an array list of ARNs that represent the authorized targets for this access scope.
    Scope string

    Specifies the name of the access scope to be associated with the specified targets.

    The following arguments are optional:

    applicationArn String
    Specifies the ARN of the application with the access scope with the targets to add or update.
    authorizedTargets List<String>
    Specifies an array list of ARNs that represent the authorized targets for this access scope.
    scope String

    Specifies the name of the access scope to be associated with the specified targets.

    The following arguments are optional:

    applicationArn string
    Specifies the ARN of the application with the access scope with the targets to add or update.
    authorizedTargets string[]
    Specifies an array list of ARNs that represent the authorized targets for this access scope.
    scope string

    Specifies the name of the access scope to be associated with the specified targets.

    The following arguments are optional:

    application_arn str
    Specifies the ARN of the application with the access scope with the targets to add or update.
    authorized_targets Sequence[str]
    Specifies an array list of ARNs that represent the authorized targets for this access scope.
    scope str

    Specifies the name of the access scope to be associated with the specified targets.

    The following arguments are optional:

    applicationArn String
    Specifies the ARN of the application with the access scope with the targets to add or update.
    authorizedTargets List<String>
    Specifies an array list of ARNs that represent the authorized targets for this access scope.
    scope String

    Specifies the name of the access scope to be associated with the specified targets.

    The following arguments are optional:

    Import

    Using pulumi import, import SSO Admin Application Access Scope using the id. For example:

    $ pulumi import aws:ssoadmin/applicationAccessScope:ApplicationAccessScope example arn:aws:sso::012345678901:application/ssoins-012345678901/apl-012345678901,sso:account:access
    

    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.33.1 published on Thursday, May 2, 2024 by Pulumi