com.pulumi.awsnative.s3express.kotlin.outputs.GetBucketPolicyResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.s3express.kotlin.outputs
import kotlin.Any
import kotlin.Suppress
/**
*
* @property policyDocument A policy document containing permissions to add to the specified bucket. In IAM, you must provide policy documents in JSON format. However, in CloudFormation you can provide the policy in JSON or YAML format because CloudFormation converts YAML to JSON before submitting it to IAM.
* Search the [CloudFormation User Guide](https://docs.aws.amazon.com/cloudformation/) for `AWS::S3Express::BucketPolicy` for more information about the expected schema for this property.
*/
public data class GetBucketPolicyResult(
public val policyDocument: Any? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.s3express.outputs.GetBucketPolicyResult): GetBucketPolicyResult = GetBucketPolicyResult(
policyDocument = javaType.policyDocument().map({ args0 -> args0 }).orElse(null),
)
}
}