SecretPolicyArgs constructor
const
SecretPolicyArgs({})
Creates a new SecretPolicyArgs.
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 SecretPolicyArgs({
this.blockPublicPolicy,
required this.policy,
this.region,
required this.secretArn,
});