Class PolicyAttachmentArgs.Builder

  • Enclosing class:
    PolicyAttachmentArgs

    public static final class PolicyAttachmentArgs.Builder
    extends java.lang.Object
    • Method Detail

      • groups

        public PolicyAttachmentArgs.Builder groups​(@Nullable
                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> groups)
        Parameters:
        groups - Group(s) the policy should be applied to.
        Returns:
        builder
      • groups

        public PolicyAttachmentArgs.Builder groups​(java.util.List<java.lang.String> groups)
        Parameters:
        groups - Group(s) the policy should be applied to.
        Returns:
        builder
      • groups

        public PolicyAttachmentArgs.Builder groups​(java.lang.String... groups)
        Parameters:
        groups - Group(s) the policy should be applied to.
        Returns:
        builder
      • name

        public PolicyAttachmentArgs.Builder name​(@Nullable
                                                 com.pulumi.core.Output<java.lang.String> name)
        Parameters:
        name - Name of the attachment. This cannot be an empty string.
        Returns:
        builder
      • name

        public PolicyAttachmentArgs.Builder name​(java.lang.String name)
        Parameters:
        name - Name of the attachment. This cannot be an empty string.
        Returns:
        builder
      • policyArn

        public PolicyAttachmentArgs.Builder policyArn​(com.pulumi.core.Output<java.lang.String> policyArn)
        Parameters:
        policyArn - ARN of the policy you want to apply. Typically this should be a reference to the ARN of another resource to ensure dependency ordering, such as `aws_iam_policy.example.arn`.
        Returns:
        builder
      • policyArn

        public PolicyAttachmentArgs.Builder policyArn​(java.lang.String policyArn)
        Parameters:
        policyArn - ARN of the policy you want to apply. Typically this should be a reference to the ARN of another resource to ensure dependency ordering, such as `aws_iam_policy.example.arn`.
        Returns:
        builder
      • roles

        public PolicyAttachmentArgs.Builder roles​(@Nullable
                                                  com.pulumi.core.Output<java.util.List<java.lang.String>> roles)
        Parameters:
        roles - Role(s) the policy should be applied to.
        Returns:
        builder
      • roles

        public PolicyAttachmentArgs.Builder roles​(java.util.List<java.lang.String> roles)
        Parameters:
        roles - Role(s) the policy should be applied to.
        Returns:
        builder
      • roles

        public PolicyAttachmentArgs.Builder roles​(java.lang.String... roles)
        Parameters:
        roles - Role(s) the policy should be applied to.
        Returns:
        builder
      • users

        public PolicyAttachmentArgs.Builder users​(@Nullable
                                                  com.pulumi.core.Output<java.util.List<java.lang.String>> users)
        Parameters:
        users - User(s) the policy should be applied to.
        Returns:
        builder
      • users

        public PolicyAttachmentArgs.Builder users​(java.util.List<java.lang.String> users)
        Parameters:
        users - User(s) the policy should be applied to.
        Returns:
        builder
      • users

        public PolicyAttachmentArgs.Builder users​(java.lang.String... users)
        Parameters:
        users - User(s) the policy should be applied to.
        Returns:
        builder