Documentation
¶
Index ¶
- type LookupPermissionArgs
- type LookupPermissionOutputArgs
- type LookupPermissionResult
- type LookupPermissionResultOutput
- func (o LookupPermissionResultOutput) Arn() pulumi.StringPtrOutput
- func (LookupPermissionResultOutput) ElementType() reflect.Type
- func (o LookupPermissionResultOutput) IsResourceTypeDefault() pulumi.BoolPtrOutput
- func (o LookupPermissionResultOutput) PermissionType() pulumi.StringPtrOutput
- func (o LookupPermissionResultOutput) Tags() aws.TagArrayOutput
- func (o LookupPermissionResultOutput) ToLookupPermissionResultOutput() LookupPermissionResultOutput
- func (o LookupPermissionResultOutput) ToLookupPermissionResultOutputWithContext(ctx context.Context) LookupPermissionResultOutput
- func (o LookupPermissionResultOutput) Version() pulumi.StringPtrOutput
- type Permission
- type PermissionArgs
- type PermissionInput
- type PermissionOutput
- func (o PermissionOutput) Arn() pulumi.StringOutput
- func (PermissionOutput) ElementType() reflect.Type
- func (o PermissionOutput) IsResourceTypeDefault() pulumi.BoolOutput
- func (o PermissionOutput) Name() pulumi.StringOutput
- func (o PermissionOutput) PermissionType() pulumi.StringOutput
- func (o PermissionOutput) PolicyTemplate() pulumi.AnyOutput
- func (o PermissionOutput) ResourceType() pulumi.StringOutput
- func (o PermissionOutput) Tags() aws.TagArrayOutput
- func (o PermissionOutput) ToPermissionOutput() PermissionOutput
- func (o PermissionOutput) ToPermissionOutputWithContext(ctx context.Context) PermissionOutput
- func (o PermissionOutput) Version() pulumi.StringOutput
- type PermissionState
- type PermissionTag
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 LookupPermissionOutput(ctx *pulumi.Context, args LookupPermissionOutputArgs, opts ...pulumi.InvokeOption) LookupPermissionResultOutput
func (LookupPermissionResultOutput) Arn ¶ added in v0.59.0
func (o LookupPermissionResultOutput) Arn() pulumi.StringPtrOutput
The Amazon Resource Name (ARN) of the new permission.
func (LookupPermissionResultOutput) ElementType ¶ added in v0.59.0
func (LookupPermissionResultOutput) ElementType() reflect.Type
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
func (o LookupPermissionResultOutput) PermissionType() pulumi.StringPtrOutput
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
func (o LookupPermissionResultOutput) Tags() aws.TagArrayOutput
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
func (o LookupPermissionResultOutput) Version() pulumi.StringPtrOutput
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
func (o PermissionOutput) Arn() pulumi.StringOutput
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
func (o PermissionOutput) Name() pulumi.StringOutput
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
func (o PermissionOutput) Tags() aws.TagArrayOutput
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"` }