ram

package
v0.108.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LookupPermissionArgs added in v0.59.0

type LookupPermissionArgs struct {
	// The Amazon Resource Name (ARN) of the new permission.
	Arn string `pulumi:"arn"`
}

type LookupPermissionOutputArgs added in v0.59.0

type LookupPermissionOutputArgs struct {
	// The Amazon Resource Name (ARN) of the new permission.
	Arn pulumi.StringInput `pulumi:"arn"`
}

func (LookupPermissionOutputArgs) ElementType added in v0.59.0

func (LookupPermissionOutputArgs) ElementType() reflect.Type

type LookupPermissionResult added in v0.59.0

type LookupPermissionResult struct {
	// The Amazon Resource Name (ARN) of the new permission.
	Arn *string `pulumi:"arn"`
	// Set to true to use this as the default permission.
	IsResourceTypeDefault *bool `pulumi:"isResourceTypeDefault"`
	// The type of managed permission. This can be one of the following values:
	//
	// - *AWS_MANAGED_PERMISSION* – AWS created and manages this managed permission. You can associate it with your resource shares, but you can't modify it.
	// - *CUSTOMER_MANAGED_PERMISSION* – You, or another principal in your account created this managed permission. You can associate it with your resource shares and create new versions that have different permissions.
	PermissionType *string `pulumi:"permissionType"`
	// Specifies a list of one or more tag key and value pairs to attach to the permission.
	Tags []aws.Tag `pulumi:"tags"`
	// Version of the permission.
	Version *string `pulumi:"version"`
}

func LookupPermission added in v0.59.0

func LookupPermission(ctx *pulumi.Context, args *LookupPermissionArgs, opts ...pulumi.InvokeOption) (*LookupPermissionResult, error)

Resource type definition for AWS::RAM::Permission

type LookupPermissionResultOutput added in v0.59.0

type LookupPermissionResultOutput struct{ *pulumi.OutputState }

func LookupPermissionOutput added in v0.59.0

func (LookupPermissionResultOutput) Arn added in v0.59.0

The Amazon Resource Name (ARN) of the new permission.

func (LookupPermissionResultOutput) ElementType added in v0.59.0

func (LookupPermissionResultOutput) IsResourceTypeDefault added in v0.59.0

func (o LookupPermissionResultOutput) IsResourceTypeDefault() pulumi.BoolPtrOutput

Set to true to use this as the default permission.

func (LookupPermissionResultOutput) PermissionType added in v0.59.0

The type of managed permission. This can be one of the following values:

- *AWS_MANAGED_PERMISSION* – AWS created and manages this managed permission. You can associate it with your resource shares, but you can't modify it. - *CUSTOMER_MANAGED_PERMISSION* – You, or another principal in your account created this managed permission. You can associate it with your resource shares and create new versions that have different permissions.

func (LookupPermissionResultOutput) Tags added in v0.59.0

Specifies a list of one or more tag key and value pairs to attach to the permission.

func (LookupPermissionResultOutput) ToLookupPermissionResultOutput added in v0.59.0

func (o LookupPermissionResultOutput) ToLookupPermissionResultOutput() LookupPermissionResultOutput

func (LookupPermissionResultOutput) ToLookupPermissionResultOutputWithContext added in v0.59.0

func (o LookupPermissionResultOutput) ToLookupPermissionResultOutputWithContext(ctx context.Context) LookupPermissionResultOutput

func (LookupPermissionResultOutput) Version added in v0.59.0

Version of the permission.

type Permission added in v0.59.0

type Permission struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the new permission.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Set to true to use this as the default permission.
	IsResourceTypeDefault pulumi.BoolOutput `pulumi:"isResourceTypeDefault"`
	// The name of the permission.
	Name pulumi.StringOutput `pulumi:"name"`
	// The type of managed permission. This can be one of the following values:
	//
	// - *AWS_MANAGED_PERMISSION* – AWS created and manages this managed permission. You can associate it with your resource shares, but you can't modify it.
	// - *CUSTOMER_MANAGED_PERMISSION* – You, or another principal in your account created this managed permission. You can associate it with your resource shares and create new versions that have different permissions.
	PermissionType pulumi.StringOutput `pulumi:"permissionType"`
	// Policy template for the permission.
	//
	// Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::RAM::Permission` for more information about the expected schema for this property.
	PolicyTemplate pulumi.AnyOutput `pulumi:"policyTemplate"`
	// The resource type this permission can be used with.
	ResourceType pulumi.StringOutput `pulumi:"resourceType"`
	// Specifies a list of one or more tag key and value pairs to attach to the permission.
	Tags aws.TagArrayOutput `pulumi:"tags"`
	// Version of the permission.
	Version pulumi.StringOutput `pulumi:"version"`
}

Resource type definition for AWS::RAM::Permission

func GetPermission added in v0.59.0

func GetPermission(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PermissionState, opts ...pulumi.ResourceOption) (*Permission, error)

GetPermission gets an existing Permission resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewPermission added in v0.59.0

func NewPermission(ctx *pulumi.Context,
	name string, args *PermissionArgs, opts ...pulumi.ResourceOption) (*Permission, error)

NewPermission registers a new resource with the given unique name, arguments, and options.

func (*Permission) ElementType added in v0.59.0

func (*Permission) ElementType() reflect.Type

func (*Permission) ToPermissionOutput added in v0.59.0

func (i *Permission) ToPermissionOutput() PermissionOutput

func (*Permission) ToPermissionOutputWithContext added in v0.59.0

func (i *Permission) ToPermissionOutputWithContext(ctx context.Context) PermissionOutput

type PermissionArgs added in v0.59.0

type PermissionArgs struct {
	// The name of the permission.
	Name pulumi.StringPtrInput
	// Policy template for the permission.
	//
	// Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::RAM::Permission` for more information about the expected schema for this property.
	PolicyTemplate pulumi.Input
	// The resource type this permission can be used with.
	ResourceType pulumi.StringInput
	// Specifies a list of one or more tag key and value pairs to attach to the permission.
	Tags aws.TagArrayInput
}

The set of arguments for constructing a Permission resource.

func (PermissionArgs) ElementType added in v0.59.0

func (PermissionArgs) ElementType() reflect.Type

type PermissionInput added in v0.59.0

type PermissionInput interface {
	pulumi.Input

	ToPermissionOutput() PermissionOutput
	ToPermissionOutputWithContext(ctx context.Context) PermissionOutput
}

type PermissionOutput added in v0.59.0

type PermissionOutput struct{ *pulumi.OutputState }

func (PermissionOutput) Arn added in v0.59.0

The Amazon Resource Name (ARN) of the new permission.

func (PermissionOutput) ElementType added in v0.59.0

func (PermissionOutput) ElementType() reflect.Type

func (PermissionOutput) IsResourceTypeDefault added in v0.59.0

func (o PermissionOutput) IsResourceTypeDefault() pulumi.BoolOutput

Set to true to use this as the default permission.

func (PermissionOutput) Name added in v0.59.0

The name of the permission.

func (PermissionOutput) PermissionType added in v0.59.0

func (o PermissionOutput) PermissionType() pulumi.StringOutput

The type of managed permission. This can be one of the following values:

- *AWS_MANAGED_PERMISSION* – AWS created and manages this managed permission. You can associate it with your resource shares, but you can't modify it. - *CUSTOMER_MANAGED_PERMISSION* – You, or another principal in your account created this managed permission. You can associate it with your resource shares and create new versions that have different permissions.

func (PermissionOutput) PolicyTemplate added in v0.59.0

func (o PermissionOutput) PolicyTemplate() pulumi.AnyOutput

Policy template for the permission.

Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::RAM::Permission` for more information about the expected schema for this property.

func (PermissionOutput) ResourceType added in v0.59.0

func (o PermissionOutput) ResourceType() pulumi.StringOutput

The resource type this permission can be used with.

func (PermissionOutput) Tags added in v0.59.0

Specifies a list of one or more tag key and value pairs to attach to the permission.

func (PermissionOutput) ToPermissionOutput added in v0.59.0

func (o PermissionOutput) ToPermissionOutput() PermissionOutput

func (PermissionOutput) ToPermissionOutputWithContext added in v0.59.0

func (o PermissionOutput) ToPermissionOutputWithContext(ctx context.Context) PermissionOutput

func (PermissionOutput) Version added in v0.59.0

func (o PermissionOutput) Version() pulumi.StringOutput

Version of the permission.

type PermissionState added in v0.59.0

type PermissionState struct {
}

func (PermissionState) ElementType added in v0.59.0

func (PermissionState) ElementType() reflect.Type

type PermissionTag added in v0.59.0

type PermissionTag struct {
	// The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
	Key string `pulumi:"key"`
	// The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.
	Value string `pulumi:"value"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL