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

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.PermissionSetInlinePolicy

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

    Example Usage

    Create PermissionSetInlinePolicy Resource

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

    Constructor syntax

    new PermissionSetInlinePolicy(name: string, args: PermissionSetInlinePolicyArgs, opts?: CustomResourceOptions);
    @overload
    def PermissionSetInlinePolicy(resource_name: str,
                                  args: PermissionSetInlinePolicyArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def PermissionSetInlinePolicy(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  inline_policy: Optional[str] = None,
                                  instance_arn: Optional[str] = None,
                                  permission_set_arn: Optional[str] = None)
    func NewPermissionSetInlinePolicy(ctx *Context, name string, args PermissionSetInlinePolicyArgs, opts ...ResourceOption) (*PermissionSetInlinePolicy, error)
    public PermissionSetInlinePolicy(string name, PermissionSetInlinePolicyArgs args, CustomResourceOptions? opts = null)
    public PermissionSetInlinePolicy(String name, PermissionSetInlinePolicyArgs args)
    public PermissionSetInlinePolicy(String name, PermissionSetInlinePolicyArgs args, CustomResourceOptions options)
    
    type: aws:ssoadmin:PermissionSetInlinePolicy
    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 PermissionSetInlinePolicyArgs
    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 PermissionSetInlinePolicyArgs
    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 PermissionSetInlinePolicyArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PermissionSetInlinePolicyArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PermissionSetInlinePolicyArgs
    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 permissionSetInlinePolicyResource = new Aws.SsoAdmin.PermissionSetInlinePolicy("permissionSetInlinePolicyResource", new()
    {
        InlinePolicy = "string",
        InstanceArn = "string",
        PermissionSetArn = "string",
    });
    
    example, err := ssoadmin.NewPermissionSetInlinePolicy(ctx, "permissionSetInlinePolicyResource", &ssoadmin.PermissionSetInlinePolicyArgs{
    	InlinePolicy:     pulumi.String("string"),
    	InstanceArn:      pulumi.String("string"),
    	PermissionSetArn: pulumi.String("string"),
    })
    
    var permissionSetInlinePolicyResource = new PermissionSetInlinePolicy("permissionSetInlinePolicyResource", PermissionSetInlinePolicyArgs.builder()        
        .inlinePolicy("string")
        .instanceArn("string")
        .permissionSetArn("string")
        .build());
    
    permission_set_inline_policy_resource = aws.ssoadmin.PermissionSetInlinePolicy("permissionSetInlinePolicyResource",
        inline_policy="string",
        instance_arn="string",
        permission_set_arn="string")
    
    const permissionSetInlinePolicyResource = new aws.ssoadmin.PermissionSetInlinePolicy("permissionSetInlinePolicyResource", {
        inlinePolicy: "string",
        instanceArn: "string",
        permissionSetArn: "string",
    });
    
    type: aws:ssoadmin:PermissionSetInlinePolicy
    properties:
        inlinePolicy: string
        instanceArn: string
        permissionSetArn: string
    

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

    InlinePolicy string
    The IAM inline policy to attach to a Permission Set.
    InstanceArn string
    The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
    PermissionSetArn string
    The Amazon Resource Name (ARN) of the Permission Set.
    InlinePolicy string
    The IAM inline policy to attach to a Permission Set.
    InstanceArn string
    The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
    PermissionSetArn string
    The Amazon Resource Name (ARN) of the Permission Set.
    inlinePolicy String
    The IAM inline policy to attach to a Permission Set.
    instanceArn String
    The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
    permissionSetArn String
    The Amazon Resource Name (ARN) of the Permission Set.
    inlinePolicy string
    The IAM inline policy to attach to a Permission Set.
    instanceArn string
    The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
    permissionSetArn string
    The Amazon Resource Name (ARN) of the Permission Set.
    inline_policy str
    The IAM inline policy to attach to a Permission Set.
    instance_arn str
    The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
    permission_set_arn str
    The Amazon Resource Name (ARN) of the Permission Set.
    inlinePolicy String
    The IAM inline policy to attach to a Permission Set.
    instanceArn String
    The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
    permissionSetArn String
    The Amazon Resource Name (ARN) of the Permission Set.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PermissionSetInlinePolicy 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 PermissionSetInlinePolicy Resource

    Get an existing PermissionSetInlinePolicy 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?: PermissionSetInlinePolicyState, opts?: CustomResourceOptions): PermissionSetInlinePolicy
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            inline_policy: Optional[str] = None,
            instance_arn: Optional[str] = None,
            permission_set_arn: Optional[str] = None) -> PermissionSetInlinePolicy
    func GetPermissionSetInlinePolicy(ctx *Context, name string, id IDInput, state *PermissionSetInlinePolicyState, opts ...ResourceOption) (*PermissionSetInlinePolicy, error)
    public static PermissionSetInlinePolicy Get(string name, Input<string> id, PermissionSetInlinePolicyState? state, CustomResourceOptions? opts = null)
    public static PermissionSetInlinePolicy get(String name, Output<String> id, PermissionSetInlinePolicyState 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:
    InlinePolicy string
    The IAM inline policy to attach to a Permission Set.
    InstanceArn string
    The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
    PermissionSetArn string
    The Amazon Resource Name (ARN) of the Permission Set.
    InlinePolicy string
    The IAM inline policy to attach to a Permission Set.
    InstanceArn string
    The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
    PermissionSetArn string
    The Amazon Resource Name (ARN) of the Permission Set.
    inlinePolicy String
    The IAM inline policy to attach to a Permission Set.
    instanceArn String
    The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
    permissionSetArn String
    The Amazon Resource Name (ARN) of the Permission Set.
    inlinePolicy string
    The IAM inline policy to attach to a Permission Set.
    instanceArn string
    The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
    permissionSetArn string
    The Amazon Resource Name (ARN) of the Permission Set.
    inline_policy str
    The IAM inline policy to attach to a Permission Set.
    instance_arn str
    The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
    permission_set_arn str
    The Amazon Resource Name (ARN) of the Permission Set.
    inlinePolicy String
    The IAM inline policy to attach to a Permission Set.
    instanceArn String
    The Amazon Resource Name (ARN) of the SSO Instance under which the operation will be executed.
    permissionSetArn String
    The Amazon Resource Name (ARN) of the Permission Set.

    Import

    Using pulumi import, import SSO Permission Set Inline Policies using the permission_set_arn and instance_arn separated by a comma (,). For example:

    $ pulumi import aws:ssoadmin/permissionSetInlinePolicy:PermissionSetInlinePolicy example arn:aws:sso:::permissionSet/ssoins-2938j0x8920sbj72/ps-80383020jr9302rk,arn:aws:sso:::instance/ssoins-2938j0x8920sbj72
    

    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