Class LifecyclePolicyPolicyDetailsEventSourceParametersArgs.Builder

    • Method Detail

      • descriptionRegex

        public LifecyclePolicyPolicyDetailsEventSourceParametersArgs.Builder descriptionRegex​(com.pulumi.core.Output<java.lang.String> descriptionRegex)
        Parameters:
        descriptionRegex - The snapshot description that can trigger the policy. The description pattern is specified using a regular expression. The policy runs only if a snapshot with a description that matches the specified pattern is shared with your account.
        Returns:
        builder
      • descriptionRegex

        public LifecyclePolicyPolicyDetailsEventSourceParametersArgs.Builder descriptionRegex​(java.lang.String descriptionRegex)
        Parameters:
        descriptionRegex - The snapshot description that can trigger the policy. The description pattern is specified using a regular expression. The policy runs only if a snapshot with a description that matches the specified pattern is shared with your account.
        Returns:
        builder
      • snapshotOwners

        public LifecyclePolicyPolicyDetailsEventSourceParametersArgs.Builder snapshotOwners​(com.pulumi.core.Output<java.util.List<java.lang.String>> snapshotOwners)
        Parameters:
        snapshotOwners - The IDs of the AWS accounts that can trigger policy by sharing snapshots with your account. The policy only runs if one of the specified AWS accounts shares a snapshot with your account.
        Returns:
        builder
      • snapshotOwners

        public LifecyclePolicyPolicyDetailsEventSourceParametersArgs.Builder snapshotOwners​(java.util.List<java.lang.String> snapshotOwners)
        Parameters:
        snapshotOwners - The IDs of the AWS accounts that can trigger policy by sharing snapshots with your account. The policy only runs if one of the specified AWS accounts shares a snapshot with your account.
        Returns:
        builder
      • snapshotOwners

        public LifecyclePolicyPolicyDetailsEventSourceParametersArgs.Builder snapshotOwners​(java.lang.String... snapshotOwners)
        Parameters:
        snapshotOwners - The IDs of the AWS accounts that can trigger policy by sharing snapshots with your account. The policy only runs if one of the specified AWS accounts shares a snapshot with your account.
        Returns:
        builder