Class ResourceShareAssociationsExclusiveState


  • public final class ResourceShareAssociationsExclusiveState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • principals

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> principals()
        Returns:
        Set of principals to associate with the resource share. Principals not configured in this argument will be removed. Valid values include: AWS account ID (exactly 12 digits, e.g., `123456789012`), AWS Organizations Organization ARN (e.g., `arn:aws:organizations::123456789012:organization/o-exampleorgid`), AWS Organizations Organizational Unit ARN (e.g., `arn:aws:organizations::123456789012:ou/o-exampleorgid/ou-examplerootid-exampleouid`), IAM role ARN (e.g., `arn:aws:iam::123456789012:role/example-role`), IAM user ARN (e.g., `arn:aws:iam::123456789012:user/example-user`), or service principal (e.g., `ec2.amazonaws.com`).
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • resourceArns

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> resourceArns()
        Returns:
        Set of ARNs of resources to associate with the resource share. Resources not configured in this argument will be removed.
      • resourceShareArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> resourceShareArn()
        Returns:
        ARN of the resource share. Changing this value forces creation of a new resource.
      • sources

        public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> sources()
        Returns:
        Set of AWS account IDs that restrict which accounts a service principal can access resources from. This argument can only be specified when `principals` contains only service principals. When specified, it limits the source accounts from which the service can access the shared resources.