Documentation ¶
Index ¶
- type GetResourceShareFilter
- type GetResourceShareFilterArgs
- type GetResourceShareFilterArray
- func (GetResourceShareFilterArray) ElementType() reflect.Type
- func (i GetResourceShareFilterArray) ToGetResourceShareFilterArrayOutput() GetResourceShareFilterArrayOutput
- func (i GetResourceShareFilterArray) ToGetResourceShareFilterArrayOutputWithContext(ctx context.Context) GetResourceShareFilterArrayOutput
- type GetResourceShareFilterArrayInput
- type GetResourceShareFilterArrayOutput
- func (GetResourceShareFilterArrayOutput) ElementType() reflect.Type
- func (o GetResourceShareFilterArrayOutput) Index(i pulumi.IntInput) GetResourceShareFilterOutput
- func (o GetResourceShareFilterArrayOutput) ToGetResourceShareFilterArrayOutput() GetResourceShareFilterArrayOutput
- func (o GetResourceShareFilterArrayOutput) ToGetResourceShareFilterArrayOutputWithContext(ctx context.Context) GetResourceShareFilterArrayOutput
- type GetResourceShareFilterInput
- type GetResourceShareFilterOutput
- func (GetResourceShareFilterOutput) ElementType() reflect.Type
- func (o GetResourceShareFilterOutput) Name() pulumi.StringOutput
- func (o GetResourceShareFilterOutput) ToGetResourceShareFilterOutput() GetResourceShareFilterOutput
- func (o GetResourceShareFilterOutput) ToGetResourceShareFilterOutputWithContext(ctx context.Context) GetResourceShareFilterOutput
- func (o GetResourceShareFilterOutput) Values() pulumi.StringArrayOutput
- type LookupResourceShareArgs
- type LookupResourceShareResult
- type PrincipalAssociation
- func (*PrincipalAssociation) ElementType() reflect.Type
- func (i *PrincipalAssociation) ToPrincipalAssociationOutput() PrincipalAssociationOutput
- func (i *PrincipalAssociation) ToPrincipalAssociationOutputWithContext(ctx context.Context) PrincipalAssociationOutput
- func (i *PrincipalAssociation) ToPrincipalAssociationPtrOutput() PrincipalAssociationPtrOutput
- func (i *PrincipalAssociation) ToPrincipalAssociationPtrOutputWithContext(ctx context.Context) PrincipalAssociationPtrOutput
- type PrincipalAssociationArgs
- type PrincipalAssociationArray
- type PrincipalAssociationArrayInput
- type PrincipalAssociationArrayOutput
- func (PrincipalAssociationArrayOutput) ElementType() reflect.Type
- func (o PrincipalAssociationArrayOutput) Index(i pulumi.IntInput) PrincipalAssociationOutput
- func (o PrincipalAssociationArrayOutput) ToPrincipalAssociationArrayOutput() PrincipalAssociationArrayOutput
- func (o PrincipalAssociationArrayOutput) ToPrincipalAssociationArrayOutputWithContext(ctx context.Context) PrincipalAssociationArrayOutput
- type PrincipalAssociationInput
- type PrincipalAssociationMap
- type PrincipalAssociationMapInput
- type PrincipalAssociationMapOutput
- func (PrincipalAssociationMapOutput) ElementType() reflect.Type
- func (o PrincipalAssociationMapOutput) MapIndex(k pulumi.StringInput) PrincipalAssociationOutput
- func (o PrincipalAssociationMapOutput) ToPrincipalAssociationMapOutput() PrincipalAssociationMapOutput
- func (o PrincipalAssociationMapOutput) ToPrincipalAssociationMapOutputWithContext(ctx context.Context) PrincipalAssociationMapOutput
- type PrincipalAssociationOutput
- func (PrincipalAssociationOutput) ElementType() reflect.Type
- func (o PrincipalAssociationOutput) ToPrincipalAssociationOutput() PrincipalAssociationOutput
- func (o PrincipalAssociationOutput) ToPrincipalAssociationOutputWithContext(ctx context.Context) PrincipalAssociationOutput
- func (o PrincipalAssociationOutput) ToPrincipalAssociationPtrOutput() PrincipalAssociationPtrOutput
- func (o PrincipalAssociationOutput) ToPrincipalAssociationPtrOutputWithContext(ctx context.Context) PrincipalAssociationPtrOutput
- type PrincipalAssociationPtrInput
- type PrincipalAssociationPtrOutput
- type PrincipalAssociationState
- type ResourceAssociation
- func (*ResourceAssociation) ElementType() reflect.Type
- func (i *ResourceAssociation) ToResourceAssociationOutput() ResourceAssociationOutput
- func (i *ResourceAssociation) ToResourceAssociationOutputWithContext(ctx context.Context) ResourceAssociationOutput
- func (i *ResourceAssociation) ToResourceAssociationPtrOutput() ResourceAssociationPtrOutput
- func (i *ResourceAssociation) ToResourceAssociationPtrOutputWithContext(ctx context.Context) ResourceAssociationPtrOutput
- type ResourceAssociationArgs
- type ResourceAssociationArray
- type ResourceAssociationArrayInput
- type ResourceAssociationArrayOutput
- func (ResourceAssociationArrayOutput) ElementType() reflect.Type
- func (o ResourceAssociationArrayOutput) Index(i pulumi.IntInput) ResourceAssociationOutput
- func (o ResourceAssociationArrayOutput) ToResourceAssociationArrayOutput() ResourceAssociationArrayOutput
- func (o ResourceAssociationArrayOutput) ToResourceAssociationArrayOutputWithContext(ctx context.Context) ResourceAssociationArrayOutput
- type ResourceAssociationInput
- type ResourceAssociationMap
- type ResourceAssociationMapInput
- type ResourceAssociationMapOutput
- func (ResourceAssociationMapOutput) ElementType() reflect.Type
- func (o ResourceAssociationMapOutput) MapIndex(k pulumi.StringInput) ResourceAssociationOutput
- func (o ResourceAssociationMapOutput) ToResourceAssociationMapOutput() ResourceAssociationMapOutput
- func (o ResourceAssociationMapOutput) ToResourceAssociationMapOutputWithContext(ctx context.Context) ResourceAssociationMapOutput
- type ResourceAssociationOutput
- func (ResourceAssociationOutput) ElementType() reflect.Type
- func (o ResourceAssociationOutput) ToResourceAssociationOutput() ResourceAssociationOutput
- func (o ResourceAssociationOutput) ToResourceAssociationOutputWithContext(ctx context.Context) ResourceAssociationOutput
- func (o ResourceAssociationOutput) ToResourceAssociationPtrOutput() ResourceAssociationPtrOutput
- func (o ResourceAssociationOutput) ToResourceAssociationPtrOutputWithContext(ctx context.Context) ResourceAssociationPtrOutput
- type ResourceAssociationPtrInput
- type ResourceAssociationPtrOutput
- type ResourceAssociationState
- type ResourceShare
- func (*ResourceShare) ElementType() reflect.Type
- func (i *ResourceShare) ToResourceShareOutput() ResourceShareOutput
- func (i *ResourceShare) ToResourceShareOutputWithContext(ctx context.Context) ResourceShareOutput
- func (i *ResourceShare) ToResourceSharePtrOutput() ResourceSharePtrOutput
- func (i *ResourceShare) ToResourceSharePtrOutputWithContext(ctx context.Context) ResourceSharePtrOutput
- type ResourceShareAccepter
- func (*ResourceShareAccepter) ElementType() reflect.Type
- func (i *ResourceShareAccepter) ToResourceShareAccepterOutput() ResourceShareAccepterOutput
- func (i *ResourceShareAccepter) ToResourceShareAccepterOutputWithContext(ctx context.Context) ResourceShareAccepterOutput
- func (i *ResourceShareAccepter) ToResourceShareAccepterPtrOutput() ResourceShareAccepterPtrOutput
- func (i *ResourceShareAccepter) ToResourceShareAccepterPtrOutputWithContext(ctx context.Context) ResourceShareAccepterPtrOutput
- type ResourceShareAccepterArgs
- type ResourceShareAccepterArray
- func (ResourceShareAccepterArray) ElementType() reflect.Type
- func (i ResourceShareAccepterArray) ToResourceShareAccepterArrayOutput() ResourceShareAccepterArrayOutput
- func (i ResourceShareAccepterArray) ToResourceShareAccepterArrayOutputWithContext(ctx context.Context) ResourceShareAccepterArrayOutput
- type ResourceShareAccepterArrayInput
- type ResourceShareAccepterArrayOutput
- func (ResourceShareAccepterArrayOutput) ElementType() reflect.Type
- func (o ResourceShareAccepterArrayOutput) Index(i pulumi.IntInput) ResourceShareAccepterOutput
- func (o ResourceShareAccepterArrayOutput) ToResourceShareAccepterArrayOutput() ResourceShareAccepterArrayOutput
- func (o ResourceShareAccepterArrayOutput) ToResourceShareAccepterArrayOutputWithContext(ctx context.Context) ResourceShareAccepterArrayOutput
- type ResourceShareAccepterInput
- type ResourceShareAccepterMap
- type ResourceShareAccepterMapInput
- type ResourceShareAccepterMapOutput
- func (ResourceShareAccepterMapOutput) ElementType() reflect.Type
- func (o ResourceShareAccepterMapOutput) MapIndex(k pulumi.StringInput) ResourceShareAccepterOutput
- func (o ResourceShareAccepterMapOutput) ToResourceShareAccepterMapOutput() ResourceShareAccepterMapOutput
- func (o ResourceShareAccepterMapOutput) ToResourceShareAccepterMapOutputWithContext(ctx context.Context) ResourceShareAccepterMapOutput
- type ResourceShareAccepterOutput
- func (ResourceShareAccepterOutput) ElementType() reflect.Type
- func (o ResourceShareAccepterOutput) ToResourceShareAccepterOutput() ResourceShareAccepterOutput
- func (o ResourceShareAccepterOutput) ToResourceShareAccepterOutputWithContext(ctx context.Context) ResourceShareAccepterOutput
- func (o ResourceShareAccepterOutput) ToResourceShareAccepterPtrOutput() ResourceShareAccepterPtrOutput
- func (o ResourceShareAccepterOutput) ToResourceShareAccepterPtrOutputWithContext(ctx context.Context) ResourceShareAccepterPtrOutput
- type ResourceShareAccepterPtrInput
- type ResourceShareAccepterPtrOutput
- func (ResourceShareAccepterPtrOutput) ElementType() reflect.Type
- func (o ResourceShareAccepterPtrOutput) ToResourceShareAccepterPtrOutput() ResourceShareAccepterPtrOutput
- func (o ResourceShareAccepterPtrOutput) ToResourceShareAccepterPtrOutputWithContext(ctx context.Context) ResourceShareAccepterPtrOutput
- type ResourceShareAccepterState
- type ResourceShareArgs
- type ResourceShareArray
- type ResourceShareArrayInput
- type ResourceShareArrayOutput
- func (ResourceShareArrayOutput) ElementType() reflect.Type
- func (o ResourceShareArrayOutput) Index(i pulumi.IntInput) ResourceShareOutput
- func (o ResourceShareArrayOutput) ToResourceShareArrayOutput() ResourceShareArrayOutput
- func (o ResourceShareArrayOutput) ToResourceShareArrayOutputWithContext(ctx context.Context) ResourceShareArrayOutput
- type ResourceShareInput
- type ResourceShareMap
- type ResourceShareMapInput
- type ResourceShareMapOutput
- func (ResourceShareMapOutput) ElementType() reflect.Type
- func (o ResourceShareMapOutput) MapIndex(k pulumi.StringInput) ResourceShareOutput
- func (o ResourceShareMapOutput) ToResourceShareMapOutput() ResourceShareMapOutput
- func (o ResourceShareMapOutput) ToResourceShareMapOutputWithContext(ctx context.Context) ResourceShareMapOutput
- type ResourceShareOutput
- func (ResourceShareOutput) ElementType() reflect.Type
- func (o ResourceShareOutput) ToResourceShareOutput() ResourceShareOutput
- func (o ResourceShareOutput) ToResourceShareOutputWithContext(ctx context.Context) ResourceShareOutput
- func (o ResourceShareOutput) ToResourceSharePtrOutput() ResourceSharePtrOutput
- func (o ResourceShareOutput) ToResourceSharePtrOutputWithContext(ctx context.Context) ResourceSharePtrOutput
- type ResourceSharePtrInput
- type ResourceSharePtrOutput
- type ResourceShareState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetResourceShareFilter ¶
type GetResourceShareFilterArgs ¶
type GetResourceShareFilterArgs struct { pulumi.StringInput `pulumi:"name"` Values pulumi.StringArrayInput `pulumi:"values"` }Name
func (GetResourceShareFilterArgs) ElementType ¶
func (GetResourceShareFilterArgs) ElementType() reflect.Type
func (GetResourceShareFilterArgs) ToGetResourceShareFilterOutput ¶
func (i GetResourceShareFilterArgs) ToGetResourceShareFilterOutput() GetResourceShareFilterOutput
func (GetResourceShareFilterArgs) ToGetResourceShareFilterOutputWithContext ¶
func (i GetResourceShareFilterArgs) ToGetResourceShareFilterOutputWithContext(ctx context.Context) GetResourceShareFilterOutput
type GetResourceShareFilterArray ¶
type GetResourceShareFilterArray []GetResourceShareFilterInput
func (GetResourceShareFilterArray) ElementType ¶
func (GetResourceShareFilterArray) ElementType() reflect.Type
func (GetResourceShareFilterArray) ToGetResourceShareFilterArrayOutput ¶
func (i GetResourceShareFilterArray) ToGetResourceShareFilterArrayOutput() GetResourceShareFilterArrayOutput
func (GetResourceShareFilterArray) ToGetResourceShareFilterArrayOutputWithContext ¶
func (i GetResourceShareFilterArray) ToGetResourceShareFilterArrayOutputWithContext(ctx context.Context) GetResourceShareFilterArrayOutput
type GetResourceShareFilterArrayInput ¶
GetResourceShareFilterArrayInput is an input type that accepts GetResourceShareFilterArray and GetResourceShareFilterArrayOutput values. You can construct a concrete instance of `GetResourceShareFilterArrayInput` via:
GetResourceShareFilterArray{ GetResourceShareFilterArgs{...} }
type GetResourceShareFilterArrayOutput ¶
func (GetResourceShareFilterArrayOutput) ElementType ¶
func (GetResourceShareFilterArrayOutput) ElementType() reflect.Type
func (GetResourceShareFilterArrayOutput) Index ¶
func (o GetResourceShareFilterArrayOutput) Index(i pulumi.IntInput) GetResourceShareFilterOutput
func (GetResourceShareFilterArrayOutput) ToGetResourceShareFilterArrayOutput ¶
func (o GetResourceShareFilterArrayOutput) ToGetResourceShareFilterArrayOutput() GetResourceShareFilterArrayOutput
func (GetResourceShareFilterArrayOutput) ToGetResourceShareFilterArrayOutputWithContext ¶
func (o GetResourceShareFilterArrayOutput) ToGetResourceShareFilterArrayOutputWithContext(ctx context.Context) GetResourceShareFilterArrayOutput
type GetResourceShareFilterInput ¶
GetResourceShareFilterInput is an input type that accepts GetResourceShareFilterArgs and GetResourceShareFilterOutput values. You can construct a concrete instance of `GetResourceShareFilterInput` via:
GetResourceShareFilterArgs{...}
type GetResourceShareFilterOutput ¶
func (GetResourceShareFilterOutput) ElementType ¶
func (GetResourceShareFilterOutput) ElementType() reflect.Type
func (GetResourceShareFilterOutput) Name ¶
func (o GetResourceShareFilterOutput) Name() pulumi.StringOutput
The name of the tag key to filter on.
func (GetResourceShareFilterOutput) ToGetResourceShareFilterOutput ¶
func (o GetResourceShareFilterOutput) ToGetResourceShareFilterOutput() GetResourceShareFilterOutput
func (GetResourceShareFilterOutput) ToGetResourceShareFilterOutputWithContext ¶
func (o GetResourceShareFilterOutput) ToGetResourceShareFilterOutputWithContext(ctx context.Context) GetResourceShareFilterOutput
func (GetResourceShareFilterOutput) Values ¶
func (o GetResourceShareFilterOutput) Values() pulumi.StringArrayOutput
The value of the tag key.
type LookupResourceShareArgs ¶
type LookupResourceShareArgs struct { GetResourceShareFilter `pulumi:"filters"` Name string `pulumi:"name"` ResourceOwner string `pulumi:"resourceOwner"` Tags map[string]string `pulumi:"tags"` }Filters []
A collection of arguments for invoking getResourceShare.
type LookupResourceShareResult ¶
type LookupResourceShareResult struct { // The Amazon Resource Name (ARN) of the resource share. // The provider-assigned unique ID for this managed resource. // The ID of the AWS account that owns the resource share. Status string `pulumi:"status"` Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getResourceShare.
func LookupResourceShare ¶
func LookupResourceShare(ctx *pulumi.Context, args *LookupResourceShareArgs, opts ...pulumi.InvokeOption) (*LookupResourceShareResult, error)
`ram.ResourceShare` Retrieve information about a RAM Resource Share.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ram" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ram.LookupResourceShare(ctx, &ram.LookupResourceShareArgs{ Name: "example", ResourceOwner: "SELF", }, nil) if err != nil { return err } return nil }) }
``` ## Search by filters
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ram" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ram.LookupResourceShare(ctx, &ram.LookupResourceShareArgs{ Filters: []ram.GetResourceShareFilter{ ram.GetResourceShareFilter{ Name: "NameOfTag", Values: []string{ "exampleNameTagValue", }, }, }, Name: "MyResourceName", ResourceOwner: "SELF", }, nil) if err != nil { return err } return nil }) }
```
type PrincipalAssociation ¶
type PrincipalAssociation struct { pulumi.CustomResourceState // The principal to associate with the resource share. Possible values are an AWS account ID, an AWS Organizations Organization ARN, or an AWS Organizations Organization Unit ARN. Principal pulumi.StringOutput `pulumi:"principal"` ResourceShareArn pulumi.StringOutput `pulumi:"resourceShareArn"` }
Provides a Resource Access Manager (RAM) principal association. Depending if [RAM Sharing with AWS Organizations is enabled](https://docs.aws.amazon.com/ram/latest/userguide/getting-started-sharing.html#getting-started-sharing-orgs), the RAM behavior with different principal types changes.
When RAM Sharing with AWS Organizations is enabled:
- For AWS Account ID, Organization, and Organizational Unit principals within the same AWS Organization, no resource share invitation is sent and resources become available automatically after creating the association. - For AWS Account ID principals outside the AWS Organization, a resource share invitation is sent and must be accepted before resources become available. See the `ram.ResourceShareAccepter` resource to accept these invitations.
When RAM Sharing with AWS Organizations is not enabled:
- Organization and Organizational Unit principals cannot be used. - For AWS Account ID principals, a resource share invitation is sent and must be accepted before resources become available. See the `ram.ResourceShareAccepter` resource to accept these invitations.
## Example Usage ### AWS Account ID
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ram" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceShare, err := ram.NewResourceShare(ctx, "exampleResourceShare", &ram.ResourceShareArgs{ AllowExternalPrincipals: pulumi.Bool(true), }) if err != nil { return err } _, err = ram.NewPrincipalAssociation(ctx, "examplePrincipalAssociation", &ram.PrincipalAssociationArgs{ Principal: pulumi.String("111111111111"), ResourceShareArn: exampleResourceShare.Arn, }) if err != nil { return err } return nil }) }
``` ### AWS Organization
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ram" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ram.NewPrincipalAssociation(ctx, "example", &ram.PrincipalAssociationArgs{ Principal: pulumi.Any(aws_organizations_organization.Example.Arn), ResourceShareArn: pulumi.Any(aws_ram_resource_share.Example.Arn), }) if err != nil { return err } return nil }) }
```
## Import
RAM Principal Associations can be imported using their Resource Share ARN and the `principal` separated by a comma, e.g.
```sh
$ pulumi import aws:ram/principalAssociation:PrincipalAssociation example arn:aws:ram:eu-west-1:123456789012:resource-share/73da1ab9-b94a-4ba3-8eb4-45917f7f4b12,123456789012
```
func GetPrincipalAssociation ¶
func GetPrincipalAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *PrincipalAssociationState, opts ...pulumi.ResourceOption) (*PrincipalAssociation, error)
GetPrincipalAssociation gets an existing PrincipalAssociation 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 NewPrincipalAssociation ¶
func NewPrincipalAssociation(ctx *pulumi.Context, name string, args *PrincipalAssociationArgs, opts ...pulumi.ResourceOption) (*PrincipalAssociation, error)
NewPrincipalAssociation registers a new resource with the given unique name, arguments, and options.
func (*PrincipalAssociation) ElementType ¶ added in v3.13.0
func (*PrincipalAssociation) ElementType() reflect.Type
func (*PrincipalAssociation) ToPrincipalAssociationOutput ¶ added in v3.13.0
func (i *PrincipalAssociation) ToPrincipalAssociationOutput() PrincipalAssociationOutput
func (*PrincipalAssociation) ToPrincipalAssociationOutputWithContext ¶ added in v3.13.0
func (i *PrincipalAssociation) ToPrincipalAssociationOutputWithContext(ctx context.Context) PrincipalAssociationOutput
func (*PrincipalAssociation) ToPrincipalAssociationPtrOutput ¶ added in v3.25.0
func (i *PrincipalAssociation) ToPrincipalAssociationPtrOutput() PrincipalAssociationPtrOutput
func (*PrincipalAssociation) ToPrincipalAssociationPtrOutputWithContext ¶ added in v3.25.0
func (i *PrincipalAssociation) ToPrincipalAssociationPtrOutputWithContext(ctx context.Context) PrincipalAssociationPtrOutput
type PrincipalAssociationArgs ¶
type PrincipalAssociationArgs struct { // The principal to associate with the resource share. Possible values are an AWS account ID, an AWS Organizations Organization ARN, or an AWS Organizations Organization Unit ARN. Principal pulumi.StringInput ResourceShareArn pulumi.StringInput }
The set of arguments for constructing a PrincipalAssociation resource.
func (PrincipalAssociationArgs) ElementType ¶
func (PrincipalAssociationArgs) ElementType() reflect.Type
type PrincipalAssociationArray ¶ added in v3.25.0
type PrincipalAssociationArray []PrincipalAssociationInput
func (PrincipalAssociationArray) ElementType ¶ added in v3.25.0
func (PrincipalAssociationArray) ElementType() reflect.Type
func (PrincipalAssociationArray) ToPrincipalAssociationArrayOutput ¶ added in v3.25.0
func (i PrincipalAssociationArray) ToPrincipalAssociationArrayOutput() PrincipalAssociationArrayOutput
func (PrincipalAssociationArray) ToPrincipalAssociationArrayOutputWithContext ¶ added in v3.25.0
func (i PrincipalAssociationArray) ToPrincipalAssociationArrayOutputWithContext(ctx context.Context) PrincipalAssociationArrayOutput
type PrincipalAssociationArrayInput ¶ added in v3.25.0
type PrincipalAssociationArrayInput interface { pulumi.Input ToPrincipalAssociationArrayOutput() PrincipalAssociationArrayOutput ToPrincipalAssociationArrayOutputWithContext(context.Context) PrincipalAssociationArrayOutput }
PrincipalAssociationArrayInput is an input type that accepts PrincipalAssociationArray and PrincipalAssociationArrayOutput values. You can construct a concrete instance of `PrincipalAssociationArrayInput` via:
PrincipalAssociationArray{ PrincipalAssociationArgs{...} }
type PrincipalAssociationArrayOutput ¶ added in v3.25.0
type PrincipalAssociationArrayOutput struct{ *pulumi.OutputState }
func (PrincipalAssociationArrayOutput) ElementType ¶ added in v3.25.0
func (PrincipalAssociationArrayOutput) ElementType() reflect.Type
func (PrincipalAssociationArrayOutput) Index ¶ added in v3.25.0
func (o PrincipalAssociationArrayOutput) Index(i pulumi.IntInput) PrincipalAssociationOutput
func (PrincipalAssociationArrayOutput) ToPrincipalAssociationArrayOutput ¶ added in v3.25.0
func (o PrincipalAssociationArrayOutput) ToPrincipalAssociationArrayOutput() PrincipalAssociationArrayOutput
func (PrincipalAssociationArrayOutput) ToPrincipalAssociationArrayOutputWithContext ¶ added in v3.25.0
func (o PrincipalAssociationArrayOutput) ToPrincipalAssociationArrayOutputWithContext(ctx context.Context) PrincipalAssociationArrayOutput
type PrincipalAssociationInput ¶ added in v3.13.0
type PrincipalAssociationInput interface { pulumi.Input ToPrincipalAssociationOutput() PrincipalAssociationOutput ToPrincipalAssociationOutputWithContext(ctx context.Context) PrincipalAssociationOutput }
type PrincipalAssociationMap ¶ added in v3.25.0
type PrincipalAssociationMap map[string]PrincipalAssociationInput
func (PrincipalAssociationMap) ElementType ¶ added in v3.25.0
func (PrincipalAssociationMap) ElementType() reflect.Type
func (PrincipalAssociationMap) ToPrincipalAssociationMapOutput ¶ added in v3.25.0
func (i PrincipalAssociationMap) ToPrincipalAssociationMapOutput() PrincipalAssociationMapOutput
func (PrincipalAssociationMap) ToPrincipalAssociationMapOutputWithContext ¶ added in v3.25.0
func (i PrincipalAssociationMap) ToPrincipalAssociationMapOutputWithContext(ctx context.Context) PrincipalAssociationMapOutput
type PrincipalAssociationMapInput ¶ added in v3.25.0
type PrincipalAssociationMapInput interface { pulumi.Input ToPrincipalAssociationMapOutput() PrincipalAssociationMapOutput ToPrincipalAssociationMapOutputWithContext(context.Context) PrincipalAssociationMapOutput }
PrincipalAssociationMapInput is an input type that accepts PrincipalAssociationMap and PrincipalAssociationMapOutput values. You can construct a concrete instance of `PrincipalAssociationMapInput` via:
PrincipalAssociationMap{ "key": PrincipalAssociationArgs{...} }
type PrincipalAssociationMapOutput ¶ added in v3.25.0
type PrincipalAssociationMapOutput struct{ *pulumi.OutputState }
func (PrincipalAssociationMapOutput) ElementType ¶ added in v3.25.0
func (PrincipalAssociationMapOutput) ElementType() reflect.Type
func (PrincipalAssociationMapOutput) MapIndex ¶ added in v3.25.0
func (o PrincipalAssociationMapOutput) MapIndex(k pulumi.StringInput) PrincipalAssociationOutput
func (PrincipalAssociationMapOutput) ToPrincipalAssociationMapOutput ¶ added in v3.25.0
func (o PrincipalAssociationMapOutput) ToPrincipalAssociationMapOutput() PrincipalAssociationMapOutput
func (PrincipalAssociationMapOutput) ToPrincipalAssociationMapOutputWithContext ¶ added in v3.25.0
func (o PrincipalAssociationMapOutput) ToPrincipalAssociationMapOutputWithContext(ctx context.Context) PrincipalAssociationMapOutput
type PrincipalAssociationOutput ¶ added in v3.13.0
type PrincipalAssociationOutput struct {
*pulumi.OutputState
}
func (PrincipalAssociationOutput) ElementType ¶ added in v3.13.0
func (PrincipalAssociationOutput) ElementType() reflect.Type
func (PrincipalAssociationOutput) ToPrincipalAssociationOutput ¶ added in v3.13.0
func (o PrincipalAssociationOutput) ToPrincipalAssociationOutput() PrincipalAssociationOutput
func (PrincipalAssociationOutput) ToPrincipalAssociationOutputWithContext ¶ added in v3.13.0
func (o PrincipalAssociationOutput) ToPrincipalAssociationOutputWithContext(ctx context.Context) PrincipalAssociationOutput
func (PrincipalAssociationOutput) ToPrincipalAssociationPtrOutput ¶ added in v3.25.0
func (o PrincipalAssociationOutput) ToPrincipalAssociationPtrOutput() PrincipalAssociationPtrOutput
func (PrincipalAssociationOutput) ToPrincipalAssociationPtrOutputWithContext ¶ added in v3.25.0
func (o PrincipalAssociationOutput) ToPrincipalAssociationPtrOutputWithContext(ctx context.Context) PrincipalAssociationPtrOutput
type PrincipalAssociationPtrInput ¶ added in v3.25.0
type PrincipalAssociationPtrInput interface { pulumi.Input ToPrincipalAssociationPtrOutput() PrincipalAssociationPtrOutput ToPrincipalAssociationPtrOutputWithContext(ctx context.Context) PrincipalAssociationPtrOutput }
type PrincipalAssociationPtrOutput ¶ added in v3.25.0
type PrincipalAssociationPtrOutput struct {
*pulumi.OutputState
}
func (PrincipalAssociationPtrOutput) ElementType ¶ added in v3.25.0
func (PrincipalAssociationPtrOutput) ElementType() reflect.Type
func (PrincipalAssociationPtrOutput) ToPrincipalAssociationPtrOutput ¶ added in v3.25.0
func (o PrincipalAssociationPtrOutput) ToPrincipalAssociationPtrOutput() PrincipalAssociationPtrOutput
func (PrincipalAssociationPtrOutput) ToPrincipalAssociationPtrOutputWithContext ¶ added in v3.25.0
func (o PrincipalAssociationPtrOutput) ToPrincipalAssociationPtrOutputWithContext(ctx context.Context) PrincipalAssociationPtrOutput
type PrincipalAssociationState ¶
type PrincipalAssociationState struct { // The principal to associate with the resource share. Possible values are an AWS account ID, an AWS Organizations Organization ARN, or an AWS Organizations Organization Unit ARN. Principal pulumi.StringPtrInput ResourceShareArn pulumi.StringPtrInput }
func (PrincipalAssociationState) ElementType ¶
func (PrincipalAssociationState) ElementType() reflect.Type
type ResourceAssociation ¶
type ResourceAssociation struct { pulumi.CustomResourceState // Amazon Resource Name (ARN) of the resource to associate with the RAM Resource Share. ResourceArn pulumi.StringOutput `pulumi:"resourceArn"` ResourceShareArn pulumi.StringOutput `pulumi:"resourceShareArn"` }
Manages a Resource Access Manager (RAM) Resource Association.
> *NOTE:* Certain AWS resources (e.g. EC2 Subnets) can only be shared in an AWS account that is a member of an AWS Organizations organization with organization-wide Resource Access Manager functionality enabled. See the [Resource Access Manager User Guide](https://docs.aws.amazon.com/ram/latest/userguide/what-is.html) and AWS service specific documentation for additional information.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ram" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ram.NewResourceAssociation(ctx, "example", &ram.ResourceAssociationArgs{ ResourceArn: pulumi.Any(aws_subnet.Example.Arn), ResourceShareArn: pulumi.Any(aws_ram_resource_share.Example.Arn), }) if err != nil { return err } return nil }) }
```
## Import
RAM Resource Associations can be imported using their Resource Share ARN and Resource ARN separated by a comma, e.g.
```sh
$ pulumi import aws:ram/resourceAssociation:ResourceAssociation example arn:aws:ram:eu-west-1:123456789012:resource-share/73da1ab9-b94a-4ba3-8eb4-45917f7f4b12,arn:aws:ec2:eu-west-1:123456789012:subnet/subnet-12345678
```
func GetResourceAssociation ¶
func GetResourceAssociation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceAssociationState, opts ...pulumi.ResourceOption) (*ResourceAssociation, error)
GetResourceAssociation gets an existing ResourceAssociation 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 NewResourceAssociation ¶
func NewResourceAssociation(ctx *pulumi.Context, name string, args *ResourceAssociationArgs, opts ...pulumi.ResourceOption) (*ResourceAssociation, error)
NewResourceAssociation registers a new resource with the given unique name, arguments, and options.
func (*ResourceAssociation) ElementType ¶ added in v3.13.0
func (*ResourceAssociation) ElementType() reflect.Type
func (*ResourceAssociation) ToResourceAssociationOutput ¶ added in v3.13.0
func (i *ResourceAssociation) ToResourceAssociationOutput() ResourceAssociationOutput
func (*ResourceAssociation) ToResourceAssociationOutputWithContext ¶ added in v3.13.0
func (i *ResourceAssociation) ToResourceAssociationOutputWithContext(ctx context.Context) ResourceAssociationOutput
func (*ResourceAssociation) ToResourceAssociationPtrOutput ¶ added in v3.25.0
func (i *ResourceAssociation) ToResourceAssociationPtrOutput() ResourceAssociationPtrOutput
func (*ResourceAssociation) ToResourceAssociationPtrOutputWithContext ¶ added in v3.25.0
func (i *ResourceAssociation) ToResourceAssociationPtrOutputWithContext(ctx context.Context) ResourceAssociationPtrOutput
type ResourceAssociationArgs ¶
type ResourceAssociationArgs struct { // Amazon Resource Name (ARN) of the resource to associate with the RAM Resource Share. ResourceArn pulumi.StringInput ResourceShareArn pulumi.StringInput }
The set of arguments for constructing a ResourceAssociation resource.
func (ResourceAssociationArgs) ElementType ¶
func (ResourceAssociationArgs) ElementType() reflect.Type
type ResourceAssociationArray ¶ added in v3.25.0
type ResourceAssociationArray []ResourceAssociationInput
func (ResourceAssociationArray) ElementType ¶ added in v3.25.0
func (ResourceAssociationArray) ElementType() reflect.Type
func (ResourceAssociationArray) ToResourceAssociationArrayOutput ¶ added in v3.25.0
func (i ResourceAssociationArray) ToResourceAssociationArrayOutput() ResourceAssociationArrayOutput
func (ResourceAssociationArray) ToResourceAssociationArrayOutputWithContext ¶ added in v3.25.0
func (i ResourceAssociationArray) ToResourceAssociationArrayOutputWithContext(ctx context.Context) ResourceAssociationArrayOutput
type ResourceAssociationArrayInput ¶ added in v3.25.0
type ResourceAssociationArrayInput interface { pulumi.Input ToResourceAssociationArrayOutput() ResourceAssociationArrayOutput ToResourceAssociationArrayOutputWithContext(context.Context) ResourceAssociationArrayOutput }
ResourceAssociationArrayInput is an input type that accepts ResourceAssociationArray and ResourceAssociationArrayOutput values. You can construct a concrete instance of `ResourceAssociationArrayInput` via:
ResourceAssociationArray{ ResourceAssociationArgs{...} }
type ResourceAssociationArrayOutput ¶ added in v3.25.0
type ResourceAssociationArrayOutput struct{ *pulumi.OutputState }
func (ResourceAssociationArrayOutput) ElementType ¶ added in v3.25.0
func (ResourceAssociationArrayOutput) ElementType() reflect.Type
func (ResourceAssociationArrayOutput) Index ¶ added in v3.25.0
func (o ResourceAssociationArrayOutput) Index(i pulumi.IntInput) ResourceAssociationOutput
func (ResourceAssociationArrayOutput) ToResourceAssociationArrayOutput ¶ added in v3.25.0
func (o ResourceAssociationArrayOutput) ToResourceAssociationArrayOutput() ResourceAssociationArrayOutput
func (ResourceAssociationArrayOutput) ToResourceAssociationArrayOutputWithContext ¶ added in v3.25.0
func (o ResourceAssociationArrayOutput) ToResourceAssociationArrayOutputWithContext(ctx context.Context) ResourceAssociationArrayOutput
type ResourceAssociationInput ¶ added in v3.13.0
type ResourceAssociationInput interface { pulumi.Input ToResourceAssociationOutput() ResourceAssociationOutput ToResourceAssociationOutputWithContext(ctx context.Context) ResourceAssociationOutput }
type ResourceAssociationMap ¶ added in v3.25.0
type ResourceAssociationMap map[string]ResourceAssociationInput
func (ResourceAssociationMap) ElementType ¶ added in v3.25.0
func (ResourceAssociationMap) ElementType() reflect.Type
func (ResourceAssociationMap) ToResourceAssociationMapOutput ¶ added in v3.25.0
func (i ResourceAssociationMap) ToResourceAssociationMapOutput() ResourceAssociationMapOutput
func (ResourceAssociationMap) ToResourceAssociationMapOutputWithContext ¶ added in v3.25.0
func (i ResourceAssociationMap) ToResourceAssociationMapOutputWithContext(ctx context.Context) ResourceAssociationMapOutput
type ResourceAssociationMapInput ¶ added in v3.25.0
type ResourceAssociationMapInput interface { pulumi.Input ToResourceAssociationMapOutput() ResourceAssociationMapOutput ToResourceAssociationMapOutputWithContext(context.Context) ResourceAssociationMapOutput }
ResourceAssociationMapInput is an input type that accepts ResourceAssociationMap and ResourceAssociationMapOutput values. You can construct a concrete instance of `ResourceAssociationMapInput` via:
ResourceAssociationMap{ "key": ResourceAssociationArgs{...} }
type ResourceAssociationMapOutput ¶ added in v3.25.0
type ResourceAssociationMapOutput struct{ *pulumi.OutputState }
func (ResourceAssociationMapOutput) ElementType ¶ added in v3.25.0
func (ResourceAssociationMapOutput) ElementType() reflect.Type
func (ResourceAssociationMapOutput) MapIndex ¶ added in v3.25.0
func (o ResourceAssociationMapOutput) MapIndex(k pulumi.StringInput) ResourceAssociationOutput
func (ResourceAssociationMapOutput) ToResourceAssociationMapOutput ¶ added in v3.25.0
func (o ResourceAssociationMapOutput) ToResourceAssociationMapOutput() ResourceAssociationMapOutput
func (ResourceAssociationMapOutput) ToResourceAssociationMapOutputWithContext ¶ added in v3.25.0
func (o ResourceAssociationMapOutput) ToResourceAssociationMapOutputWithContext(ctx context.Context) ResourceAssociationMapOutput
type ResourceAssociationOutput ¶ added in v3.13.0
type ResourceAssociationOutput struct {
*pulumi.OutputState
}
func (ResourceAssociationOutput) ElementType ¶ added in v3.13.0
func (ResourceAssociationOutput) ElementType() reflect.Type
func (ResourceAssociationOutput) ToResourceAssociationOutput ¶ added in v3.13.0
func (o ResourceAssociationOutput) ToResourceAssociationOutput() ResourceAssociationOutput
func (ResourceAssociationOutput) ToResourceAssociationOutputWithContext ¶ added in v3.13.0
func (o ResourceAssociationOutput) ToResourceAssociationOutputWithContext(ctx context.Context) ResourceAssociationOutput
func (ResourceAssociationOutput) ToResourceAssociationPtrOutput ¶ added in v3.25.0
func (o ResourceAssociationOutput) ToResourceAssociationPtrOutput() ResourceAssociationPtrOutput
func (ResourceAssociationOutput) ToResourceAssociationPtrOutputWithContext ¶ added in v3.25.0
func (o ResourceAssociationOutput) ToResourceAssociationPtrOutputWithContext(ctx context.Context) ResourceAssociationPtrOutput
type ResourceAssociationPtrInput ¶ added in v3.25.0
type ResourceAssociationPtrInput interface { pulumi.Input ToResourceAssociationPtrOutput() ResourceAssociationPtrOutput ToResourceAssociationPtrOutputWithContext(ctx context.Context) ResourceAssociationPtrOutput }
type ResourceAssociationPtrOutput ¶ added in v3.25.0
type ResourceAssociationPtrOutput struct {
*pulumi.OutputState
}
func (ResourceAssociationPtrOutput) ElementType ¶ added in v3.25.0
func (ResourceAssociationPtrOutput) ElementType() reflect.Type
func (ResourceAssociationPtrOutput) ToResourceAssociationPtrOutput ¶ added in v3.25.0
func (o ResourceAssociationPtrOutput) ToResourceAssociationPtrOutput() ResourceAssociationPtrOutput
func (ResourceAssociationPtrOutput) ToResourceAssociationPtrOutputWithContext ¶ added in v3.25.0
func (o ResourceAssociationPtrOutput) ToResourceAssociationPtrOutputWithContext(ctx context.Context) ResourceAssociationPtrOutput
type ResourceAssociationState ¶
type ResourceAssociationState struct { // Amazon Resource Name (ARN) of the resource to associate with the RAM Resource Share. ResourceArn pulumi.StringPtrInput ResourceShareArn pulumi.StringPtrInput }
func (ResourceAssociationState) ElementType ¶
func (ResourceAssociationState) ElementType() reflect.Type
type ResourceShare ¶
type ResourceShare struct { pulumi.BoolPtrOutput `pulumi:"allowExternalPrincipals"` Arn pulumi.StringOutput `pulumi:"arn"` Name pulumi.StringOutput `pulumi:"name"` Tags pulumi.StringMapOutput `pulumi:"tags"` }AllowExternalPrincipals
Manages a Resource Access Manager (RAM) Resource Share. To associate principals with the share, see the `ram.PrincipalAssociation` resource. To associate resources with the share, see the `ram.ResourceAssociation` resource.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ram" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := ram.NewResourceShare(ctx, "example", &ram.ResourceShareArgs{ AllowExternalPrincipals: pulumi.Bool(true), Tags: pulumi.StringMap{ "Environment": pulumi.String("Production"), }, }) if err != nil { return err } return nil }) }
```
## Import
Resource shares can be imported using the `id`, e.g.
```sh
$ pulumi import aws:ram/resourceShare:ResourceShare example arn:aws:ram:eu-west-1:123456789012:resource-share/73da1ab9-b94a-4ba3-8eb4-45917f7f4b12
```
func GetResourceShare ¶
func GetResourceShare(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceShareState, opts ...pulumi.ResourceOption) (*ResourceShare, error)
GetResourceShare gets an existing ResourceShare 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 NewResourceShare ¶
func NewResourceShare(ctx *pulumi.Context, name string, args *ResourceShareArgs, opts ...pulumi.ResourceOption) (*ResourceShare, error)
NewResourceShare registers a new resource with the given unique name, arguments, and options.
func (*ResourceShare) ElementType ¶ added in v3.13.0
func (*ResourceShare) ElementType() reflect.Type
func (*ResourceShare) ToResourceShareOutput ¶ added in v3.13.0
func (i *ResourceShare) ToResourceShareOutput() ResourceShareOutput
func (*ResourceShare) ToResourceShareOutputWithContext ¶ added in v3.13.0
func (i *ResourceShare) ToResourceShareOutputWithContext(ctx context.Context) ResourceShareOutput
func (*ResourceShare) ToResourceSharePtrOutput ¶ added in v3.25.0
func (i *ResourceShare) ToResourceSharePtrOutput() ResourceSharePtrOutput
func (*ResourceShare) ToResourceSharePtrOutputWithContext ¶ added in v3.25.0
func (i *ResourceShare) ToResourceSharePtrOutputWithContext(ctx context.Context) ResourceSharePtrOutput
type ResourceShareAccepter ¶
type ResourceShareAccepter struct { pulumi.StringOutput `pulumi:"invitationArn"` ReceiverAccountId pulumi.StringOutput `pulumi:"receiverAccountId"` Resources pulumi.StringArrayOutput `pulumi:"resources"` SenderAccountId pulumi.StringOutput `pulumi:"senderAccountId"` ShareArn pulumi.StringOutput `pulumi:"shareArn"` ShareId pulumi.StringOutput `pulumi:"shareId"` ShareName pulumi.StringOutput `pulumi:"shareName"` Status pulumi.StringOutput `pulumi:"status"` }InvitationArn
Manage accepting a Resource Access Manager (RAM) Resource Share invitation. From a _receiver_ AWS account, accept an invitation to share resources that were shared by a _sender_ AWS account. To create a resource share in the _sender_, see the `ram.ResourceShare` resource.
> **Note:** If both AWS accounts are in the same Organization and [RAM Sharing with AWS Organizations is enabled](https://docs.aws.amazon.com/ram/latest/userguide/getting-started-sharing.html#getting-started-sharing-orgs), this resource is not necessary as RAM Resource Share invitations are not used.
## Example Usage
This configuration provides an example of using multiple AWS providers to configure two different AWS accounts. In the _sender_ account, the configuration creates a `ram.ResourceShare` and uses a data source in the _receiver_ account to create a `ram.PrincipalAssociation` resource with the _receiver's_ account ID. In the _receiver_ account, the configuration accepts the invitation to share resources with the `ram.ResourceShareAccepter`.
```go package main
import (
"github.com/pulumi/pulumi-aws/sdk/v3/go/aws" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/providers" "github.com/pulumi/pulumi-aws/sdk/v3/go/aws/ram" "github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := providers.Newaws(ctx, "alternate", &providers.awsArgs{ Profile: pulumi.String("profile1"), }) if err != nil { return err } senderShare, err := ram.NewResourceShare(ctx, "senderShare", &ram.ResourceShareArgs{ AllowExternalPrincipals: pulumi.Bool(true), Tags: pulumi.StringMap{ "Name": pulumi.String("tf-test-resource-share"), }, }, pulumi.Provider(aws.Alternate)) if err != nil { return err } receiver, err := aws.GetCallerIdentity(ctx, nil, nil) if err != nil { return err } senderInvite, err := ram.NewPrincipalAssociation(ctx, "senderInvite", &ram.PrincipalAssociationArgs{ Principal: pulumi.String(receiver.AccountId), ResourceShareArn: senderShare.Arn, }, pulumi.Provider(aws.Alternate)) if err != nil { return err } _, err = ram.NewResourceShareAccepter(ctx, "receiverAccept", &ram.ResourceShareAccepterArgs{ ShareArn: senderInvite.ResourceShareArn, }) if err != nil { return err } return nil }) }
```
## Import
Resource share accepters can be imported using the resource share ARN, e.g.
```sh
$ pulumi import aws:ram/resourceShareAccepter:ResourceShareAccepter example arn:aws:ram:us-east-1:123456789012:resource-share/c4b56393-e8d9-89d9-6dc9-883752de4767
```
func GetResourceShareAccepter ¶
func GetResourceShareAccepter(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ResourceShareAccepterState, opts ...pulumi.ResourceOption) (*ResourceShareAccepter, error)
GetResourceShareAccepter gets an existing ResourceShareAccepter 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 NewResourceShareAccepter ¶
func NewResourceShareAccepter(ctx *pulumi.Context, name string, args *ResourceShareAccepterArgs, opts ...pulumi.ResourceOption) (*ResourceShareAccepter, error)
NewResourceShareAccepter registers a new resource with the given unique name, arguments, and options.
func (*ResourceShareAccepter) ElementType ¶ added in v3.13.0
func (*ResourceShareAccepter) ElementType() reflect.Type
func (*ResourceShareAccepter) ToResourceShareAccepterOutput ¶ added in v3.13.0
func (i *ResourceShareAccepter) ToResourceShareAccepterOutput() ResourceShareAccepterOutput
func (*ResourceShareAccepter) ToResourceShareAccepterOutputWithContext ¶ added in v3.13.0
func (i *ResourceShareAccepter) ToResourceShareAccepterOutputWithContext(ctx context.Context) ResourceShareAccepterOutput
func (*ResourceShareAccepter) ToResourceShareAccepterPtrOutput ¶ added in v3.25.0
func (i *ResourceShareAccepter) ToResourceShareAccepterPtrOutput() ResourceShareAccepterPtrOutput
func (*ResourceShareAccepter) ToResourceShareAccepterPtrOutputWithContext ¶ added in v3.25.0
func (i *ResourceShareAccepter) ToResourceShareAccepterPtrOutputWithContext(ctx context.Context) ResourceShareAccepterPtrOutput
type ResourceShareAccepterArgs ¶
type ResourceShareAccepterArgs struct { pulumi.StringInput }ShareArn
The set of arguments for constructing a ResourceShareAccepter resource.
func (ResourceShareAccepterArgs) ElementType ¶
func (ResourceShareAccepterArgs) ElementType() reflect.Type
type ResourceShareAccepterArray ¶ added in v3.25.0
type ResourceShareAccepterArray []ResourceShareAccepterInput
func (ResourceShareAccepterArray) ElementType ¶ added in v3.25.0
func (ResourceShareAccepterArray) ElementType() reflect.Type
func (ResourceShareAccepterArray) ToResourceShareAccepterArrayOutput ¶ added in v3.25.0
func (i ResourceShareAccepterArray) ToResourceShareAccepterArrayOutput() ResourceShareAccepterArrayOutput
func (ResourceShareAccepterArray) ToResourceShareAccepterArrayOutputWithContext ¶ added in v3.25.0
func (i ResourceShareAccepterArray) ToResourceShareAccepterArrayOutputWithContext(ctx context.Context) ResourceShareAccepterArrayOutput
type ResourceShareAccepterArrayInput ¶ added in v3.25.0
ResourceShareAccepterArrayInput is an input type that accepts ResourceShareAccepterArray and ResourceShareAccepterArrayOutput values. You can construct a concrete instance of `ResourceShareAccepterArrayInput` via:
ResourceShareAccepterArray{ ResourceShareAccepterArgs{...} }
type ResourceShareAccepterArrayOutput ¶ added in v3.25.0
func (ResourceShareAccepterArrayOutput) ElementType ¶ added in v3.25.0
func (ResourceShareAccepterArrayOutput) ElementType() reflect.Type
func (ResourceShareAccepterArrayOutput) Index ¶ added in v3.25.0
func (o ResourceShareAccepterArrayOutput) Index(i pulumi.IntInput) ResourceShareAccepterOutput
func (ResourceShareAccepterArrayOutput) ToResourceShareAccepterArrayOutput ¶ added in v3.25.0
func (o ResourceShareAccepterArrayOutput) ToResourceShareAccepterArrayOutput() ResourceShareAccepterArrayOutput
func (ResourceShareAccepterArrayOutput) ToResourceShareAccepterArrayOutputWithContext ¶ added in v3.25.0
func (o ResourceShareAccepterArrayOutput) ToResourceShareAccepterArrayOutputWithContext(ctx context.Context) ResourceShareAccepterArrayOutput
type ResourceShareAccepterInput ¶ added in v3.13.0
type ResourceShareAccepterMap ¶ added in v3.25.0
type ResourceShareAccepterMap map[string]ResourceShareAccepterInput
func (ResourceShareAccepterMap) ElementType ¶ added in v3.25.0
func (ResourceShareAccepterMap) ElementType() reflect.Type
func (ResourceShareAccepterMap) ToResourceShareAccepterMapOutput ¶ added in v3.25.0
func (i ResourceShareAccepterMap) ToResourceShareAccepterMapOutput() ResourceShareAccepterMapOutput
func (ResourceShareAccepterMap) ToResourceShareAccepterMapOutputWithContext ¶ added in v3.25.0
func (i ResourceShareAccepterMap) ToResourceShareAccepterMapOutputWithContext(ctx context.Context) ResourceShareAccepterMapOutput
type ResourceShareAccepterMapInput ¶ added in v3.25.0
ResourceShareAccepterMapInput is an input type that accepts ResourceShareAccepterMap and ResourceShareAccepterMapOutput values. You can construct a concrete instance of `ResourceShareAccepterMapInput` via:
ResourceShareAccepterMap{ "key": ResourceShareAccepterArgs{...} }
type ResourceShareAccepterMapOutput ¶ added in v3.25.0
func (ResourceShareAccepterMapOutput) ElementType ¶ added in v3.25.0
func (ResourceShareAccepterMapOutput) ElementType() reflect.Type
func (ResourceShareAccepterMapOutput) MapIndex ¶ added in v3.25.0
func (o ResourceShareAccepterMapOutput) MapIndex(k pulumi.StringInput) ResourceShareAccepterOutput
func (ResourceShareAccepterMapOutput) ToResourceShareAccepterMapOutput ¶ added in v3.25.0
func (o ResourceShareAccepterMapOutput) ToResourceShareAccepterMapOutput() ResourceShareAccepterMapOutput
func (ResourceShareAccepterMapOutput) ToResourceShareAccepterMapOutputWithContext ¶ added in v3.25.0
func (o ResourceShareAccepterMapOutput) ToResourceShareAccepterMapOutputWithContext(ctx context.Context) ResourceShareAccepterMapOutput
type ResourceShareAccepterOutput ¶ added in v3.13.0
type ResourceShareAccepterOutput struct {
}func (ResourceShareAccepterOutput) ElementType ¶ added in v3.13.0
func (ResourceShareAccepterOutput) ElementType() reflect.Type
func (ResourceShareAccepterOutput) ToResourceShareAccepterOutput ¶ added in v3.13.0
func (o ResourceShareAccepterOutput) ToResourceShareAccepterOutput() ResourceShareAccepterOutput
func (ResourceShareAccepterOutput) ToResourceShareAccepterOutputWithContext ¶ added in v3.13.0
func (o ResourceShareAccepterOutput) ToResourceShareAccepterOutputWithContext(ctx context.Context) ResourceShareAccepterOutput
func (ResourceShareAccepterOutput) ToResourceShareAccepterPtrOutput ¶ added in v3.25.0
func (o ResourceShareAccepterOutput) ToResourceShareAccepterPtrOutput() ResourceShareAccepterPtrOutput
func (ResourceShareAccepterOutput) ToResourceShareAccepterPtrOutputWithContext ¶ added in v3.25.0
func (o ResourceShareAccepterOutput) ToResourceShareAccepterPtrOutputWithContext(ctx context.Context) ResourceShareAccepterPtrOutput
type ResourceShareAccepterPtrInput ¶ added in v3.25.0
type ResourceShareAccepterPtrOutput ¶ added in v3.25.0
type ResourceShareAccepterPtrOutput struct {
}func (ResourceShareAccepterPtrOutput) ElementType ¶ added in v3.25.0
func (ResourceShareAccepterPtrOutput) ElementType() reflect.Type
func (ResourceShareAccepterPtrOutput) ToResourceShareAccepterPtrOutput ¶ added in v3.25.0
func (o ResourceShareAccepterPtrOutput) ToResourceShareAccepterPtrOutput() ResourceShareAccepterPtrOutput
func (ResourceShareAccepterPtrOutput) ToResourceShareAccepterPtrOutputWithContext ¶ added in v3.25.0
func (o ResourceShareAccepterPtrOutput) ToResourceShareAccepterPtrOutputWithContext(ctx context.Context) ResourceShareAccepterPtrOutput
type ResourceShareAccepterState ¶
type ResourceShareAccepterState struct { pulumi.StringPtrInput ReceiverAccountId pulumi.StringPtrInput Resources pulumi.StringArrayInput SenderAccountId pulumi.StringPtrInput ShareArn pulumi.StringPtrInput ShareId pulumi.StringPtrInput ShareName pulumi.StringPtrInput Status pulumi.StringPtrInput }InvitationArn
func (ResourceShareAccepterState) ElementType ¶
func (ResourceShareAccepterState) ElementType() reflect.Type
type ResourceShareArgs ¶
type ResourceShareArgs struct { pulumi.BoolPtrInput Name pulumi.StringPtrInput Tags pulumi.StringMapInput }AllowExternalPrincipals
The set of arguments for constructing a ResourceShare resource.
func (ResourceShareArgs) ElementType ¶
func (ResourceShareArgs) ElementType() reflect.Type
type ResourceShareArray ¶ added in v3.25.0
type ResourceShareArray []ResourceShareInput
func (ResourceShareArray) ElementType ¶ added in v3.25.0
func (ResourceShareArray) ElementType() reflect.Type
func (ResourceShareArray) ToResourceShareArrayOutput ¶ added in v3.25.0
func (i ResourceShareArray) ToResourceShareArrayOutput() ResourceShareArrayOutput
func (ResourceShareArray) ToResourceShareArrayOutputWithContext ¶ added in v3.25.0
func (i ResourceShareArray) ToResourceShareArrayOutputWithContext(ctx context.Context) ResourceShareArrayOutput
type ResourceShareArrayInput ¶ added in v3.25.0
ResourceShareArrayInput is an input type that accepts ResourceShareArray and ResourceShareArrayOutput values. You can construct a concrete instance of `ResourceShareArrayInput` via:
ResourceShareArray{ ResourceShareArgs{...} }
type ResourceShareArrayOutput ¶ added in v3.25.0
func (ResourceShareArrayOutput) ElementType ¶ added in v3.25.0
func (ResourceShareArrayOutput) ElementType() reflect.Type
func (ResourceShareArrayOutput) Index ¶ added in v3.25.0
func (o ResourceShareArrayOutput) Index(i pulumi.IntInput) ResourceShareOutput
func (ResourceShareArrayOutput) ToResourceShareArrayOutput ¶ added in v3.25.0
func (o ResourceShareArrayOutput) ToResourceShareArrayOutput() ResourceShareArrayOutput
func (ResourceShareArrayOutput) ToResourceShareArrayOutputWithContext ¶ added in v3.25.0
func (o ResourceShareArrayOutput) ToResourceShareArrayOutputWithContext(ctx context.Context) ResourceShareArrayOutput
type ResourceShareInput ¶ added in v3.13.0
type ResourceShareMap ¶ added in v3.25.0
type ResourceShareMap map[string]ResourceShareInput
func (ResourceShareMap) ElementType ¶ added in v3.25.0
func (ResourceShareMap) ElementType() reflect.Type
func (ResourceShareMap) ToResourceShareMapOutput ¶ added in v3.25.0
func (i ResourceShareMap) ToResourceShareMapOutput() ResourceShareMapOutput
func (ResourceShareMap) ToResourceShareMapOutputWithContext ¶ added in v3.25.0
func (i ResourceShareMap) ToResourceShareMapOutputWithContext(ctx context.Context) ResourceShareMapOutput
type ResourceShareMapInput ¶ added in v3.25.0
ResourceShareMapInput is an input type that accepts ResourceShareMap and ResourceShareMapOutput values. You can construct a concrete instance of `ResourceShareMapInput` via:
ResourceShareMap{ "key": ResourceShareArgs{...} }
type ResourceShareMapOutput ¶ added in v3.25.0
func (ResourceShareMapOutput) ElementType ¶ added in v3.25.0
func (ResourceShareMapOutput) ElementType() reflect.Type
func (ResourceShareMapOutput) MapIndex ¶ added in v3.25.0
func (o ResourceShareMapOutput) MapIndex(k pulumi.StringInput) ResourceShareOutput
func (ResourceShareMapOutput) ToResourceShareMapOutput ¶ added in v3.25.0
func (o ResourceShareMapOutput) ToResourceShareMapOutput() ResourceShareMapOutput
func (ResourceShareMapOutput) ToResourceShareMapOutputWithContext ¶ added in v3.25.0
func (o ResourceShareMapOutput) ToResourceShareMapOutputWithContext(ctx context.Context) ResourceShareMapOutput
type ResourceShareOutput ¶ added in v3.13.0
type ResourceShareOutput struct {
}func (ResourceShareOutput) ElementType ¶ added in v3.13.0
func (ResourceShareOutput) ElementType() reflect.Type
func (ResourceShareOutput) ToResourceShareOutput ¶ added in v3.13.0
func (o ResourceShareOutput) ToResourceShareOutput() ResourceShareOutput
func (ResourceShareOutput) ToResourceShareOutputWithContext ¶ added in v3.13.0
func (o ResourceShareOutput) ToResourceShareOutputWithContext(ctx context.Context) ResourceShareOutput
func (ResourceShareOutput) ToResourceSharePtrOutput ¶ added in v3.25.0
func (o ResourceShareOutput) ToResourceSharePtrOutput() ResourceSharePtrOutput
func (ResourceShareOutput) ToResourceSharePtrOutputWithContext ¶ added in v3.25.0
func (o ResourceShareOutput) ToResourceSharePtrOutputWithContext(ctx context.Context) ResourceSharePtrOutput
type ResourceSharePtrInput ¶ added in v3.25.0
type ResourceSharePtrOutput ¶ added in v3.25.0
type ResourceSharePtrOutput struct {
}func (ResourceSharePtrOutput) ElementType ¶ added in v3.25.0
func (ResourceSharePtrOutput) ElementType() reflect.Type
func (ResourceSharePtrOutput) ToResourceSharePtrOutput ¶ added in v3.25.0
func (o ResourceSharePtrOutput) ToResourceSharePtrOutput() ResourceSharePtrOutput
func (ResourceSharePtrOutput) ToResourceSharePtrOutputWithContext ¶ added in v3.25.0
func (o ResourceSharePtrOutput) ToResourceSharePtrOutputWithContext(ctx context.Context) ResourceSharePtrOutput
type ResourceShareState ¶
type ResourceShareState struct { pulumi.BoolPtrInput Arn pulumi.StringPtrInput Name pulumi.StringPtrInput Tags pulumi.StringMapInput }AllowExternalPrincipals
func (ResourceShareState) ElementType ¶
func (ResourceShareState) ElementType() reflect.Type