SecretPolicyArgs class
The set of arguments for SecretPolicy. The set of arguments for SecretPolicy.
Constructors
-
SecretPolicyArgs({Input<
bool?> ? blockPublicPolicy, required Input<String> policy, Input<String?> ? region, required Input<String> secretArn}) -
Creates a new SecretPolicyArgs.
blockPublicPolicyMakes an optional API call to Zelkova to validate the Resource Policy to prevent broad access to your secret.policyValid JSON document representing a resource policy. Unlikeaws.secretsmanager.Secret, wherepolicycan be set to"{}"to delete the policy,"{}"is not a valid policy sincepolicyis required.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.secretArnSecret ARN.const -
SecretPolicyArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
blockPublicPolicy
→ Input<
bool?> ? -
Makes an optional API call to Zelkova to validate the Resource Policy to prevent broad access to your secret.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
policy
→ Input<
String> -
Valid JSON document representing a resource policy. Unlike
aws.secretsmanager.Secret, wherepolicycan be set to"{}"to delete the policy,"{}"is not a valid policy sincepolicyis required.final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
secretArn
→ Input<
String> -
Secret ARN.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited