Interface CfnResourcePolicyMixinProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnResourcePolicyMixinProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.121.0 (build d7af9b9)",
date="2025-12-18T18:20:32.084Z")
@Stability(Stable)
public interface CfnResourcePolicyMixinProps
extends software.amazon.jsii.JsiiSerializable
Properties for CfnResourcePolicyPropsMixin.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.secretsmanager.mixins.*;
Object resourcePolicy;
CfnResourcePolicyMixinProps cfnResourcePolicyMixinProps = CfnResourcePolicyMixinProps.builder()
.blockPublicPolicy(false)
.resourcePolicy(resourcePolicy)
.secretId("secretId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnResourcePolicyMixinPropsstatic final classAn implementation forCfnResourcePolicyMixinProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectSpecifies whether to block resource-based policies that allow broad access to the secret.default ObjectA JSON-formatted string for an AWS resource-based policy.default StringThe ARN or name of the secret to attach the resource-based policy.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBlockPublicPolicy
Specifies whether to block resource-based policies that allow broad access to the secret.By default, Secrets Manager blocks policies that allow broad access, for example those that use a wildcard for the principal.
Returns union: either
BooleanorIResolvable- See Also:
-
getResourcePolicy
A JSON-formatted string for an AWS resource-based policy.For example policies, see Permissions policy examples .
- See Also:
-
getSecretId
The ARN or name of the secret to attach the resource-based policy.For an ARN, we recommend that you specify a complete ARN rather than a partial ARN.
- See Also:
-
builder
-