The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::RAM::CreateResourceShare - Arguments for method CreateResourceShare on Paws::RAM

DESCRIPTION

This class represents the parameters used for calling the method CreateResourceShare on the AWS Resource Access Manager service. Use the attributes of this class as arguments to method CreateResourceShare.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateResourceShare.

SYNOPSIS

my $ram = Paws->service('RAM');
my $CreateResourceShareResponse = $ram->CreateResourceShare(
  Name                    => 'MyString',
  AllowExternalPrincipals => 1,                      # OPTIONAL
  ClientToken             => 'MyString',             # OPTIONAL
  PermissionArns          => [ 'MyString', ... ],    # OPTIONAL
  Principals              => [ 'MyString', ... ],    # OPTIONAL
  ResourceArns            => [ 'MyString', ... ],    # OPTIONAL
  Tags                    => [
    {
      Key   => 'MyTagKey',      # OPTIONAL
      Value => 'MyTagValue',    # OPTIONAL
    },
    ...
  ],    # OPTIONAL
);

# Results:
my $ClientToken   = $CreateResourceShareResponse->ClientToken;
my $ResourceShare = $CreateResourceShareResponse->ResourceShare;

# Returns a L<Paws::RAM::CreateResourceShareResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/ram/CreateResourceShare

ATTRIBUTES

AllowExternalPrincipals => Bool

Indicates whether principals outside your AWS organization can be associated with a resource share.

ClientToken => Str

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

REQUIRED Name => Str

The name of the resource share.

PermissionArns => ArrayRef[Str|Undef]

The ARNs of the permissions to associate with the resource share. If you do not specify an ARN for the permission, AWS RAM automatically attaches the default version of the permission for each resource type.

Principals => ArrayRef[Str|Undef]

The principals to associate with the resource share. The possible values are IDs of AWS accounts, the ARN of an OU or organization from AWS Organizations.

ResourceArns => ArrayRef[Str|Undef]

The Amazon Resource Names (ARN) of the resources to associate with the resource share.

Tags => ArrayRef[Paws::RAM::Tag]

One or more tags.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateResourceShare in Paws::RAM

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues