SecretPolicyState constructor

const SecretPolicyState({
  1. Input<bool?>? blockPublicPolicy,
  2. Input<String?>? policy,
  3. Input<String?>? region,
  4. Input<String?>? secretArn,
})

Creates a new SecretPolicyState. blockPublicPolicy Makes an optional API call to Zelkova to validate the Resource Policy to prevent broad access to your secret. policy Valid JSON document representing a resource policy. Unlike aws.secretsmanager.Secret, where policy can be set to "{}" to delete the policy, "{}" is not a valid policy since policy is required. region Region where this resource will be managed. Defaults to the Region set in the provider configuration. secretArn Secret ARN.

Implementation

const SecretPolicyState({
  this.blockPublicPolicy,
  this.policy,
  this.region,
  this.secretArn,
});