ram

class pulumi_aws.ram.PrincipalAssociation(resource_name, opts=None, principal=None, resource_share_arn=None, __name__=None, __opts__=None)

Provides a Resource Access Manager (RAM) principal association.

NOTE: For an AWS Account ID principal, the target account must accept the RAM association invitation after resource creation.
Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • principal (pulumi.Input[str]) – The principal to associate with the resource share. Possible values are an AWS account ID, an AWS Organizations Organization ID, or an AWS Organizations Organization Unit ID.
  • resource_share_arn (pulumi.Input[str]) – The Amazon Resource Name (ARN) of the resource share.
principal = None

The principal to associate with the resource share. Possible values are an AWS account ID, an AWS Organizations Organization ID, or an AWS Organizations Organization Unit ID.

resource_share_arn = None

The Amazon Resource Name (ARN) of the resource share.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.ram.ResourceAssociation(resource_name, opts=None, resource_arn=None, resource_share_arn=None, __name__=None, __opts__=None)

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 and AWS service specific documentation for additional information.
Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • resource_arn (pulumi.Input[str]) – Amazon Resource Name (ARN) of the resource to associate with the RAM Resource Share.
  • resource_share_arn (pulumi.Input[str]) – Amazon Resource Name (ARN) of the RAM Resource Share.
resource_arn = None

Amazon Resource Name (ARN) of the resource to associate with the RAM Resource Share.

resource_share_arn = None

Amazon Resource Name (ARN) of the RAM Resource Share.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
class pulumi_aws.ram.ResourceShare(resource_name, opts=None, allow_external_principals=None, name=None, tags=None, __name__=None, __opts__=None)

Manages a Resource Access Manager (RAM) Resource Share. To association principals with the share, see the ``aws_ram_principal_association` resource <https://www.terraform.io/docs/providers/aws/r/ram_principal_association.html>`_. To associate resources with the share, see the ``aws_ram_resource_association` resource <https://www.terraform.io/docs/providers/aws/r/ram_resource_association.html>`_.

Parameters:
  • resource_name (str) – The name of the resource.
  • opts (pulumi.ResourceOptions) – Options for the resource.
  • allow_external_principals (pulumi.Input[bool]) – Indicates whether principals outside your organization can be associated with a resource share.
  • name (pulumi.Input[str]) – The name of the resource share.
  • tags (pulumi.Input[dict]) – A mapping of tags to assign to the resource share.
allow_external_principals = None

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

name = None

The name of the resource share.

tags = None

A mapping of tags to assign to the resource share.

translate_output_property(prop)

Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str
translate_input_property(prop)

Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.

Parameters:prop (str) – A property name.
Returns:A potentially transformed property name.
Return type:str