ResourcePolicyArgs

data class ResourcePolicyArgs(val blockPublicPolicy: Output<Boolean>? = null, val resourcePolicy: Output<Any>? = null, val secretId: Output<String>? = null) : ConvertibleToJava<ResourcePolicyArgs>

Resource Type definition for AWS::SecretsManager::ResourcePolicy

Constructors

Link copied to clipboard
constructor(blockPublicPolicy: Output<Boolean>? = null, resourcePolicy: Output<Any>? = null, secretId: Output<String>? = null)

Properties

Link copied to clipboard
val blockPublicPolicy: Output<Boolean>? = null

Specifies whether to block resource-based policies that allow broad access to the secret.

Link copied to clipboard
val resourcePolicy: Output<Any>? = null

A JSON-formatted string for an AWS resource-based policy. Search the CloudFormation User Guide for AWS::SecretsManager::ResourcePolicy for more information about the expected schema for this property.

Link copied to clipboard
val secretId: Output<String>? = null

The ARN or name of the secret to attach the resource-based policy.

Functions

Link copied to clipboard
open override fun toJava(): ResourcePolicyArgs