Class GetPolicyDocumentStatementArgs.Builder

    • Method Detail

      • actions

        public GetPolicyDocumentStatementArgs.Builder actions​(@Nullable
                                                              com.pulumi.core.Output<java.util.List<java.lang.String>> actions)
        Parameters:
        actions - List of actions that this statement either allows or denies. For example, `["ec2:RunInstances", "s3:*"]`.
        Returns:
        builder
      • actions

        public GetPolicyDocumentStatementArgs.Builder actions​(java.util.List<java.lang.String> actions)
        Parameters:
        actions - List of actions that this statement either allows or denies. For example, `["ec2:RunInstances", "s3:*"]`.
        Returns:
        builder
      • actions

        public GetPolicyDocumentStatementArgs.Builder actions​(java.lang.String... actions)
        Parameters:
        actions - List of actions that this statement either allows or denies. For example, `["ec2:RunInstances", "s3:*"]`.
        Returns:
        builder
      • effect

        public GetPolicyDocumentStatementArgs.Builder effect​(@Nullable
                                                             com.pulumi.core.Output<java.lang.String> effect)
        Parameters:
        effect - Whether this statement allows or denies the given actions. Valid values are `Allow` and `Deny`. Defaults to `Allow`.
        Returns:
        builder
      • effect

        public GetPolicyDocumentStatementArgs.Builder effect​(java.lang.String effect)
        Parameters:
        effect - Whether this statement allows or denies the given actions. Valid values are `Allow` and `Deny`. Defaults to `Allow`.
        Returns:
        builder
      • notActions

        public GetPolicyDocumentStatementArgs.Builder notActions​(@Nullable
                                                                 com.pulumi.core.Output<java.util.List<java.lang.String>> notActions)
        Parameters:
        notActions - List of actions that this statement does *not* apply to. Use to apply a policy statement to all actions *except* those listed.
        Returns:
        builder
      • notActions

        public GetPolicyDocumentStatementArgs.Builder notActions​(java.util.List<java.lang.String> notActions)
        Parameters:
        notActions - List of actions that this statement does *not* apply to. Use to apply a policy statement to all actions *except* those listed.
        Returns:
        builder
      • notActions

        public GetPolicyDocumentStatementArgs.Builder notActions​(java.lang.String... notActions)
        Parameters:
        notActions - List of actions that this statement does *not* apply to. Use to apply a policy statement to all actions *except* those listed.
        Returns:
        builder
      • notResources

        public GetPolicyDocumentStatementArgs.Builder notResources​(@Nullable
                                                                   com.pulumi.core.Output<java.util.List<java.lang.String>> notResources)
        Parameters:
        notResources - List of resource ARNs that this statement does *not* apply to. Use to apply a policy statement to all resources *except* those listed. Conflicts with `resources`.
        Returns:
        builder
      • notResources

        public GetPolicyDocumentStatementArgs.Builder notResources​(java.util.List<java.lang.String> notResources)
        Parameters:
        notResources - List of resource ARNs that this statement does *not* apply to. Use to apply a policy statement to all resources *except* those listed. Conflicts with `resources`.
        Returns:
        builder
      • notResources

        public GetPolicyDocumentStatementArgs.Builder notResources​(java.lang.String... notResources)
        Parameters:
        notResources - List of resource ARNs that this statement does *not* apply to. Use to apply a policy statement to all resources *except* those listed. Conflicts with `resources`.
        Returns:
        builder
      • resources

        public GetPolicyDocumentStatementArgs.Builder resources​(@Nullable
                                                                com.pulumi.core.Output<java.util.List<java.lang.String>> resources)
        Parameters:
        resources - List of resource ARNs that this statement applies to. This is required by AWS if used for an IAM policy. Conflicts with `notResources`.
        Returns:
        builder
      • resources

        public GetPolicyDocumentStatementArgs.Builder resources​(java.util.List<java.lang.String> resources)
        Parameters:
        resources - List of resource ARNs that this statement applies to. This is required by AWS if used for an IAM policy. Conflicts with `notResources`.
        Returns:
        builder
      • resources

        public GetPolicyDocumentStatementArgs.Builder resources​(java.lang.String... resources)
        Parameters:
        resources - List of resource ARNs that this statement applies to. This is required by AWS if used for an IAM policy. Conflicts with `notResources`.
        Returns:
        builder
      • sid

        public GetPolicyDocumentStatementArgs.Builder sid​(@Nullable
                                                          com.pulumi.core.Output<java.lang.String> sid)
        Parameters:
        sid - Sid (statement ID) is an identifier for a policy statement.
        Returns:
        builder